An i8080 simulator
An i8080 simulator
This is my self made 8bit asm coding playground.
It contains the i8080 simulator, called "8080 Box" and a (cross) assembler, called "8080 Assembler", both in FreeBasic with source files.
Please let me know what you think.
Bye,
fabrizio
http://file-pasta.com/d/2219.zip
It contains the i8080 simulator, called "8080 Box" and a (cross) assembler, called "8080 Assembler", both in FreeBasic with source files.
Please let me know what you think.
Bye,
fabrizio
http://file-pasta.com/d/2219.zip
You certainly worked a lot more than me: only 250 8080 instructions vs more than 700 Z80 instructions. My original goal was the Z80, but I grew tired earlier. If I was to start again now, I would opt for the 6502: ca 250 instructions but less repetitive because less registers and more addressing modes. You only discover these things after...
Hi, thanks for your interest in my prog.
The prog waited patiently in my USB key until now, beacause development ceased after the post.
I uploaded it here (thanks Kristopher).
http://freefile.kristopherw.us/uploads/ ... 80_box.zip
Please let me know what you think.
Bye,
fabrizio
The prog waited patiently in my USB key until now, beacause development ceased after the post.
I uploaded it here (thanks Kristopher).
http://freefile.kristopherw.us/uploads/ ... 80_box.zip
Please let me know what you think.
Bye,
fabrizio
Last edited by fabrizio on Nov 10, 2008 13:20, edited 1 time in total.
It was a deliberate choice. As much as possible had to be human readable. A simulator has this advantage over the real system, that you can actually stop a minute and look into it. So I let clarity prevail over adherence. The same applies to decimal numbers being used instead of the more obscure hex.
Furthermore, we are not suffering from the constraints in memory, storage or speed of the original systems, so we don't actually need to optimize: the simultaor will naturally run faster than the original.
Furthermore, we are not suffering from the constraints in memory, storage or speed of the original systems, so we don't actually need to optimize: the simultaor will naturally run faster than the original.
Yes, well. Programs in assembler are closer to the actual hardware and mine is invented from scratch. I doubt an existing i8080 binary could run as-is in 8080box.
In fact all I wanted was to try and program in assembler like one could do on the seventies and eighties computer. So I put together a CPU and a memory map, a screen and a simple assembler.
I hoped that maybe I could go on and translate a small OS like that of the Sinclair ZX80 (4K). That was where I realized I didn't like to program in assembler in the first place...
Anyway, if you feel like loading binaries, it shouldn't be difficult to add.
In fact all I wanted was to try and program in assembler like one could do on the seventies and eighties computer. So I put together a CPU and a memory map, a screen and a simple assembler.
I hoped that maybe I could go on and translate a small OS like that of the Sinclair ZX80 (4K). That was where I realized I didn't like to program in assembler in the first place...
Anyway, if you feel like loading binaries, it shouldn't be difficult to add.