[V9990] Q&A Official Thread

Page 23/23
16 | 17 | 18 | 19 | 20 | 21 | 22 |

Par GhostwriterP

Paladin (683)

Portrait de GhostwriterP

01-10-2022, 11:13

...double image with preshift Wink

Par albs_br

Champion (468)

Portrait de albs_br

06-11-2022, 15:10

Hi guys, I'm doing some experiments with v9990 and openmsx, but so far no success.

I already know how to show all v9990 registers values with console command "v9990regs", but I cannot see/modify the V9990 VRAM, it looks like the "vpoke"/"vpeek" commands refer to the main VDP, not the V9990.

Is there a way to inspect V9990 VRAM in openmsx?

Par aoineko

Paladin (903)

Portrait de aoineko

06-11-2022, 16:40

In the Debuggable viewer, you have:
- Sunrise GF9000 VRAM
- Sunrise GF9000 palette
- Sunrise GF9000 regs

But I think they are read-only.

Par Manuel

Ascended (19330)

Portrait de Manuel

06-11-2022, 19:30

i would expect all debuggables to be read/write. In the background (and on the command line) this just uses the 'debug' command. So, that's the low level debug command. It comes with some documentation.

Par wouter_

Champion (510)

Portrait de wouter_

06-11-2022, 19:34

The "vpeek" and "vpoke" commands indeed work on the main VDP. Under the hood these commands operate on the "VRAM" debuggable. (See in your openMSX installation in the share/scripts/_vdp.tcl file around line 140).

Like aoineko already said, the corresponding debuggable for the V9990 is called "Sunrise GFX9000 VRAM". You can read/write to this debuggable via commands like:

debug read "Sunrise GFX9000 VRAM" 0x12345
debug write "Sunrise GFX9000 VRAM" 0x12345 0xab

Or if you need this often, you could define your own helper procs similar to the existing "vpeek"/"vpoke" procs:

proc v9peek {addr} {
	debug read "Sunrise GFX9000 VRAM" $addr
}
proc v9poke {addr val} {
	debug write "Sunrise GFX9000 VRAM" $addr $val
}

Or (like aoineko says) you could inspect the "Sunrise GFX9000 VRAM" debuggable in the openmsx-debugger "Debuggable viewer". I'm not sure if that view is read-only, or if it also allows to change the content.

Par albs_br

Champion (468)

Portrait de albs_br

16-11-2022, 14:33

Is there a way to visualize the V9990 VRAM as bitmap?

Par aoineko

Paladin (903)

Portrait de aoineko

16-11-2022, 21:15

To my knowledge, this is not possible in OpenMSX.

For my tests in P1 mode, I made a debug function to switch temporarily to B1 mode (4bpp/256x4096) and thus to be able to visualize the VRAM content (with keys to scroll vertically).

Page 23/23
16 | 17 | 18 | 19 | 20 | 21 | 22 |