Blitz Emulator
Community Forums/Showcase/Blitz Emulator| 
 | ||
| Here is my lastest project  You can download it free from my homepage | 
| 
 | ||
| Hi Gav, What are the controls for the games/emulator? I have always wanted to do something like an Atari VCS emulator as a challenge. How do you go about creating an emulator though? Do you write a function for each of the CPU opcodes and instructions? | 
| 
 | ||
| jb- I don't know Gav's method, but just about all 8 bit emulators AFAIK do what you say. Someone wrote a spectrum emulator using Blitz - you could get hold of the code at one stage. I don't know where it is, but a web search may throw something up if ur interested. | 
| 
 | ||
| Ahhh ... BlitzArcade has source code. Nice. I guess the next big challenge is finding out how the graphics, sound, memory, and i/o works on said system. Then suss out the timing. | 
| 
 | ||
| Hi JB Yes I wrote a routine to execute each instruction (64 routines in total!). | 
| 
 | ||
| CONSOLE BUTTONS ARE AS FOLLOWS: "F1" Start "F2" Select "F3" Option "F5" RESET CPU | 
| 
 | ||
| It has 512 bytes of RAM ,yes thats right, less than 1K! No one had heard of Mega-Bytes way back then! | 
| 
 | ||
| Here is one of my 64 routines, a= instruction opcode | 
| 
 | ||
| Here is an Example of my source simplified to make it more adaptable to anyone's needs. | 
| 
 | ||
| Fantasic help. Lots of information for me to chew on. Thanks Gav. How do you control two clocks? Say for example, a graphics clock at 3Mhz and a CPU clock at 1.5Mhz? | 
| 
 | ||
| Im not sure ,if the older 8 bit consoles worked like that | 
| 
 | ||
| Gav, What are the forum codes? This is interesting, but I have to resist the temptation to get involved. I would love to write an emulator for some old beast... | 
| 
 | ||
| Thanks for the link I was wondering how other people where adding images, etc go on... emulate this :-)   |