MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

arcadegamenut
MAME Fan
Reged: 06/06/06
Posts: 39
Send PM
Baby Steps
01/18/08 11:43 PM


I've pretty much scrapped the idea of using Direct X for this project. What a major pain in the rear to work with.

On the other hand, SDL seems very good. Clear, concise and down to the point. Further, there's a header conversion for Delphi. With a couple of seconds, I had it creating a window and blitting a yellow pixel in the center of the screen.

Other things I messed with during the 30 minutes I was playing around:

1. Pretty much finished the init routine. Now, all know opcodes are mapped with the number of cycles, the instruction and address mode.

2. Added in the remainder of the program roms into memory. Including adding in the mirror of 310 at the end so that we can determine the program counter during the cpu reset routine.

3. Worked a little bit on the cpu reset for determining the starting address. I've either loaded the wrong rom, loaded it in the wrong spot or my logic is incorrect in doing the arithmetic because a test revealed 4 for the PC. I don't know, but that just doesn't sound correct to me. Maybe because there's no program code at location 4 in memory? I'll have to give this some additional thought next time I look into it.

ArcadeGamenut







Entire thread
Subject Posted by Posted on
* Writing My Own Emulator From Scratch arcadegamenut 01/10/08 07:15 AM
. * Centipede Documentation arcadegamenut  02/01/08 10:19 PM
. * Re: Centipede Documentation Phil Bennett  02/01/08 11:59 PM
. * Progress arcadegamenut  01/22/08 06:25 PM
. * Re: Progress arcadegamenut  01/30/08 12:40 AM
. * Re: Progress Lord Nightmare  01/30/08 01:43 AM
. * Re: Progress R. Belmont  01/30/08 02:34 AM
. * Re: Progress arcadegamenut  01/30/08 04:27 AM
. * Re: Progress Anonymous  02/04/08 02:28 AM
. * Baby Steps arcadegamenut  01/18/08 11:43 PM
. * Re: Baby Steps R. Belmont  01/20/08 12:33 AM
. * Re: Baby Steps Anonymous  01/20/08 12:38 AM
. * Re: Baby Steps R. Belmont  01/20/08 03:38 AM
. * Re: Baby Steps arcadegamenut  01/20/08 04:13 AM
. * Re: Baby Steps arcadegamenut  01/20/08 01:34 AM
. * Re: Baby Steps R. Belmont  01/20/08 03:37 AM
. * Re: Writing My Own Emulator From Scratch arcadegamenut  01/16/08 06:27 PM
. * Re: Writing My Own Emulator From Scratch arcadegamenut  01/11/08 07:09 PM
. * Re: Writing My Own Emulator From Scratch Anonymous  01/14/08 02:12 PM
. * Re: Writing My Own Emulator From Scratch arcadegamenut  01/14/08 09:20 PM
. * Re: Writing My Own Emulator From Scratch Anonymous  01/15/08 01:30 AM
. * Re: Writing My Own Emulator From Scratch R. Belmont  01/10/08 07:48 AM
. * Re: Writing My Own Emulator From Scratch arcadegamenut  01/10/08 06:26 PM
. * Re: Writing My Own Emulator From Scratch Stolistic  01/10/08 08:27 PM
. * Re: Writing My Own Emulator From Scratch arcadegamenut  01/11/08 12:10 AM
. * Re: Writing My Own Emulator From Scratch R. Belmont  01/11/08 01:10 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 19 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5629