HomeForumsWhat's newResources 
 
 
Sprite low-level access to VDP...
TakaIsSilly - Sep 1, 2003
 TakaIsSilly Sep 1, 2003
Hn... here's my problem. I need a proprietary sprite engine, so I'm not using the "texture" approach the library come with.

I create the correct sprite data, generate a command table that VDP1 likes, but how do i register it with the processor itself - like setting up where the command sprite table begins? Satourne seems to have some sort of relative adress attached to that adress, and there's this SPRITE_VRAM thing on the sample that uses sprites - yet I can't make heads or tails of it. Anyone has the important registers for the VDP1 handy?

 antime Sep 1, 2003
The first drawing command is always at the start of VDP1 RAM. The register definitions can be found in the VDP1 manual.

 ExCyber Sep 1, 2003
I can't be 100% sure because I'm only skimming the manual here, but try putting your initial command table at 0x25E00000 (i.e. the beginning of VDP1 VRAM) and write 0x01 to 0x25D00004 (PTMR; plot mode register) to begin drawing.

 antime Sep 1, 2003
Charles MacDonald... has a no-library sprite demo on his page.

 Runik Sep 8, 2003
Actually the start of VDP1 VRAM is located at 0x25C00000, so you should place your first command table here.

0x25E00000 is the start of the VDP2 VRAM