Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: GoatCPU, my python emulator of a totally memory mapped CPU  (Read 1861 times)

Eclectic Wizard

  • Bay Watcher
  • Vinum Sabbathi
    • View Profile

So I made a CPU Emulator in Python, I am having a few problems but otherwise it runs fine.

GitHub: https://github.com/NeverGoWest/GoatCPU/

Spoiler: Old Post (click to show/hide)
« Last Edit: July 01, 2014, 04:50:03 pm by Eclectic Wizard »
Logged
Black chant mirrors the song of the stars
Open the abyss dreamt from afar
Abominations drawn to our dimension
Feed black desires, aid human ascension

Theoden

  • Bay Watcher
    • View Profile

This looks pretty interesting. Plus I love logic circuit editors and I am actually making a logic circuit designer using XNA. Anyways, did you make any progress on the CPU design?
Logged

Eclectic Wizard

  • Bay Watcher
  • Vinum Sabbathi
    • View Profile

This looks pretty interesting. Plus I love logic circuit editors and I am actually making a logic circuit designer using XNA. Anyways, did you make any progress on the CPU design?

Well instead of implementing it in a logic editor, (Logisim turned out to be pretty buggy and pretty useless) I am working on a python implementation of it.
One problem I have is that JMP doesnt work, it jumps to zero no matter what. I might need to implement some hardcoded registers instead of having everything memory-mapped.

https://github.com/NeverGoWest/GoatCPU/
Logged
Black chant mirrors the song of the stars
Open the abyss dreamt from afar
Abominations drawn to our dimension
Feed black desires, aid human ascension