English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 17 April 2021, 19:33   #1
oRBIT
Zone Friend
 
Join Date: Apr 2006
Location: Gothenburg/Sweden
Age: 48
Posts: 344
Coding a NES emulator

I've been coding a NES emulator since the 90's. Well, not all the time but from time to time.
One thing that have bothered me all these years are how to solve proper graphics emulation. There are a few tricky parts to solve on low-end Amigas.

The NES have 4 screens ordered something like this:
2 3
0 1

There are usually only memory for two of them so the other two are mirrors. Games usually have horizontal or vertical mirroring. Horizontal means, 0-1 are the same screen and 2-3 are the same. Vertical means 0-2 and 1-3 are the same.
Emulating this on Amiga requires 4 screens, or preferable even 6(!) screens.
Assuming you're playing a game like "Super Mario Bros" that scrolls from left to right. Screen 0 is used first, flips over to screen 1 that keeps scrolling and actually shows screen 0 again. Hope you understand what I mean.
This is the problem.
I don't want to keep updating 6 screens in chip-RAM for this.

Could there be a smarter solution? I'm interested in ideas for AGA-setups. I guess in theory you could use the blitter but blitting the entire screen in 50fps, well, that wouldn't be fast.
oRBIT is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A/NES (NES emulator) - old versions oRBIT request.Apps 1 31 March 2015 10:15
A NES Site I've created, NES-Bit.com Lorfarius Retrogaming General Discussion 63 05 June 2012 17:14
Good NES emulator for AGA Leandro Jardim request.Apps 2 02 January 2012 01:29
Nintendo emulator: A/NES: 1.02beta2 (AGA) Paul News 11 27 November 2006 11:43
Frederic's Emulator inside and Emulator thread Fred the Fop Retrogaming General Discussion 22 09 March 2006 07:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:27.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10158 seconds with 15 queries