Ok I got it working. It displays ... 256 colors.
Not so bad.
I'm beginning to feel bored.
Guess it's time for a change ...
Search found 464 matches
- Thu Dec 28, 2006 2:42 pm
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
- Thu Dec 28, 2006 1:26 pm
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
Wel wel well... I've manage to do DMA while HBL. Couldn't figure out why it wouldn't run sooner. But I can't get the 512 colors ... The best I have is a multi-colored blanking screen Fifty-fifty... I've tried to do DMA from VRAM to CRAM move.l #$C00000C0,GFX_CTRL ; Trigger DMA to CRAM 0x0000 , and i...
- Thu Dec 28, 2006 9:34 am
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
- Wed Dec 27, 2006 5:44 pm
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
- Wed Dec 27, 2006 5:37 pm
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
You'll find the whole code on my site :
http://perso.wanadoo.fr/olivier.brosseron/PAL512.ASM
It looks as if after the first DMA, I can't make it anymore.
Thank for interest.
http://perso.wanadoo.fr/olivier.brosseron/PAL512.ASM
It looks as if after the first DMA, I can't make it anymore.
Thank for interest.
- Wed Dec 27, 2006 11:00 am
- Forum: Video Display Processor
- Topic: 512 colors demo
- Replies: 21
- Views: 19098
512 colors demo
Damned ! I try hard to run a 512 colors demo, but can't manage to do it. I've read the TmEE 960 demo, but didn't figure out how to use it. So, here are my datas. I have 16 tiles, from 00000000 ... 00000000 to FFFFFFFF ... FFFFFFFF. I store it in VRAM 0x0000 I have 512 colors, from 0000, 0002, 0004 ....
- Mon Dec 18, 2006 1:03 pm
- Forum: Megadrive/Genesis
- Topic: Sega2.doc is enough, Really?
- Replies: 23
- Views: 21773
- Mon Dec 18, 2006 8:48 am
- Forum: Megadrive/Genesis
- Topic: Sega2.doc is enough, Really?
- Replies: 23
- Views: 21773
- Fri Dec 15, 2006 2:55 pm
- Forum: Megadrive/Genesis
- Topic: Genny and 3D
- Replies: 138
- Views: 100642
Amazing !stalepie wrote:Star Cruiser intro (Megadrive)
http://www.youtube.com/watch?v=MIMEfxYh3lc
- Fri Dec 15, 2006 2:44 pm
- Forum: Megadrive/Genesis
- Topic: Sega2.doc is enough, Really?
- Replies: 23
- Views: 21773
- Fri Dec 15, 2006 12:42 pm
- Forum: Megadrive/Genesis
- Topic: Sega2.doc is enough, Really?
- Replies: 23
- Views: 21773
Actually, I don't find the 68k especially hard to develop. Moreover, it's more what we're used to, with registers, whereas the 6502 only has accumulator (think Z80 ?). OK, the 6502 has 3 index registers. The video display processor (VDP) is sure a little bit tricky to program, but once you've figure...
- Fri Dec 15, 2006 10:27 am
- Forum: Megadrive/Genesis
- Topic: Sega2.doc is enough, Really?
- Replies: 23
- Views: 21773
- Thu Dec 14, 2006 9:38 am
- Forum: Megadrive/Genesis
- Topic: MD disassemblies and source codes
- Replies: 14
- Views: 12541
- Thu Dec 14, 2006 7:49 am
- Forum: Megadrive/Genesis
- Topic: MD disassemblies and source codes
- Replies: 14
- Views: 12541
- Thu Dec 07, 2006 10:37 am
- Forum: Megadrive/Genesis
- Topic: Genny and 3D
- Replies: 138
- Views: 100642
Here we go with flat shading. 1- Transform vertices (3D points) into pixels (2D points) 2- get lines (step 1 needed) 3- transform lines into polygon (step 2 needed) 4- get 3D vectors 5- compute the normal to the vectors (step 4 needed) 6- get color from the normal (step 5 needed) 7- for all the poly...