It is currently Tue Dec 12, 2017 7:20 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Sep 25, 2016 1:43 pm 
Offline

Joined: Sun Jan 31, 2016 9:55 pm
Posts: 38
I've been experimenting with rendering full screen bitmaps on the NES without complex mappers. The viewport is 224x240 pixels. This demo uses the BattleToads AOROM cartridge, but the only feature of the cartridge that I need is the CHR-RAM.

It pushes 368 bytes of data to the PPU every frame, in 8 byte chunks, which adds up to 46 changed tiles. That should be plenty to make a 4-way scrolling engine and update character tiles. To do scrolling on the Y axis, I have a variable-length delay routine based on DMC IRQs, but I've been manually figuring out the right combination of sample rates and busy waiting for each scanline. I need to find a formula and generate it instead. It will support PAL and NTSC systems, but for now it only works with NTSC.

Thanks to tepples, tokumaru, Bregalad, and many others of the nesdev community, for figuring out the concepts required to implement something like this. This topic explores displaying a full-screen bitmap with CHR-RAM. This topic explores using the DMC as a video timer.


Attachments:
bitmap.nes [32.02 KiB]
Downloaded 196 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group