Re: New wsdisplay for playstation2

Izumi Tsutsui <[email protected]> Sat, 1 Nov 2003 00:43:31 +0900
Newsgroups gmane.os.netbsd.ports.playstation2,gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
In article <[email protected]>
[email protected] wrote:

> I faced another problem. I need some interrupt code to upload the
> screen memory to the framebuffer, but that fails miserably when
> entering ddb. Is there any way to leave an interrupt running even when
> ddb is entered?

I think all interrupts are disabled on ddb prompt.

I'm not sure how this should be handled, but
I guess you have to prepare special cnputc() function
(which will be enabled by cnpoll()) that kicks DMA transfer
manually to upload framebuffer on each character output.

> Finally, I don't know if the attach/cninit code is right.

If gsfb_init() is called in gsfbcninit(), maybe gsfb_attach() doesn't
have to call gsfb_init() again.
(see sys/dev/tc/sfb.c and sys/arch/dreamcast/dev/pvr.c etc.)
---
Izumi Tsutsui
[email protected]