Blitz Emulator

Community Forums/Showcase/Blitz Emulator

Boulderdash(Posted 2005) [#1]
Here is my lastest project


You can download it free from my homepage


EOF(Posted 2005) [#2]
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?


Who was John Galt?(Posted 2005) [#3]
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.


EOF(Posted 2005) [#4]
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.


Boulderdash(Posted 2005) [#5]
Hi JB

Yes I wrote a routine to execute each instruction (64 routines in total!).


Boulderdash(Posted 2005) [#6]
CONSOLE BUTTONS ARE AS FOLLOWS:

"F1" Start

"F2" Select

"F3" Option

"F5" RESET CPU


Boulderdash(Posted 2005) [#7]
It has 512 bytes of RAM ,yes thats right, less than 1K!
No one had heard of Mega-Bytes way back then!


Boulderdash(Posted 2005) [#8]
Here is one of my 64 routines,

a= instruction opcode


Boulderdash(Posted 2005) [#9]
Here is an Example of my source simplified to make it more
adaptable to anyone's needs.


EOF(Posted 2005) [#10]
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?


Boulderdash(Posted 2005) [#11]
Im not sure ,if the older 8 bit consoles worked like that


WolRon(Posted 2005) [#12]
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...


Boulderdash(Posted 2005) [#13]
Thanks for the link I was wondering how other people where adding images, etc

go on... emulate this :-)