|
Post by MPN on Jan 13, 2006 18:51:30 GMT -5
is this possible: to write a program entirely in 68k while using the 32x vdp instead of the genesis one? specifically, can anything in BEX do this? I'm interested in using pictures with more colors, but dithering looks awful on my computer (but not too bad on the tv) and i don't know too much about sh2 assembly...
|
|
|
Post by jlf65 on Jan 13, 2006 21:26:49 GMT -5
Don't know about BEX, but if you go here and scroll down to the Hot Chick test programs near the bottom, you'll find they show how to use the 32X VDP from the 68K. The two tests at the very bottom look like they show using the 32X VDP from BEX.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Jan 14, 2006 12:54:48 GMT -5
not really hard to draw using the 32x vdp in basiegaxorz, compared to making sh2 assembly code do it for you =P. ' 32x background + Galaxian Game ' 32x part starts here marsvidrequest marsvidmode DM_15BPP, TV_NTSC, PRIO_GEN valt
i=224 for a=0 to 223 MARSVRAM(a)=i i+=320 next marsswapbuffer
i=224 for a=0 to 223 MARSVRAM(a)=i i+=320 next marsswapbuffer
print "Drawing"; dim myvram(0) as integer at &h8401C0 i=0 for y=0 to 203 for x=0 to 319 myvram(i)=((x * y) >> 1 [and] &h7FE0 i++ next if y%20=0 then print "."; endif next marsswapbuffer this is the code directly pulled from galaxian 32x, that draws the wierd background behind the game playing scene. i've also uploaded the source code to the second 32x bex test at devster.monkeeh.com/segapage.html
|
|
animeworld
PooP MonkeeH
SegaDevBR - Brazilian Development Comunnity for Games of Sega Platform o/
Posts: 2
|
Post by animeworld on Apr 11, 2006 11:22:54 GMT -5
not really hard to draw using the 32x vdp in basiegaxorz, compared to making sh2 assembly code do it for you =P. ' 32x background + Galaxian Game ' 32x part starts here marsvidrequest marsvidmode DM_15BPP, TV_NTSC, PRIO_GEN valt
i=224 for a=0 to 223 MARSVRAM(a)=i i+=320 next marsswapbuffer
i=224 for a=0 to 223 MARSVRAM(a)=i i+=320 next marsswapbuffer
print "Drawing"; dim myvram(0) as integer at &h8401C0 i=0 for y=0 to 203 for x=0 to 319 myvram(i)=((x * y) >> 1 [and] &h7FE0 i++ next if y%20=0 then print "."; endif next marsswapbuffer this is the code directly pulled from galaxian 32x, that draws the wierd background behind the game playing scene. i've also uploaded the source code to the second 32x bex test at devster.monkeeh.com/segapage.htmla broken link on downloading source code to the second test :/
|
|