Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shysaur/tricky68k
Motorola 68000 simulator for Mac OS X
https://github.com/shysaur/tricky68k
assembly macos motorola-68000 simulator
Last synced: about 1 month ago
JSON representation
Motorola 68000 simulator for Mac OS X
- Host: GitHub
- URL: https://github.com/shysaur/tricky68k
- Owner: shysaur
- License: mit
- Created: 2015-01-18T20:32:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-13T22:10:05.000Z (over 3 years ago)
- Last Synced: 2023-02-27T19:55:44.340Z (almost 2 years ago)
- Topics: assembly, macos, motorola-68000, simulator
- Language: C
- Size: 6.08 MB
- Stars: 42
- Watchers: 12
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tricky68k
### [Download Here!](https://github.com/shysaur/Tricky68k/releases)Tricky68k is a Motorola 68000 simulator for macOS, based on Volker
Barthelmann's [VASM](http://sun.hasenbraten.de/vasm/) assembler, the
[GNU binutils](http://www.gnu.org/software/binutils/) package, Karl Stenerud's
[Musashi](https://github.com/kstenerud/Musashi) emulator, and the
[Fragaria](https://github.com/shysaur/Fragaria) editor.Tricky68k was tested on OS X Yosemite and later, up to macOS Catalina.
### About the Teletype
The simulator implements a single I/O device (the teletype), mapped from
0xFFE000 to 0xFFFFFF inclusive.
- You write a (16 bit) word to that range to output a character to the
teletype
- You read from the same range to fetch character from the keyboard FIFO.
If the keyboard FIFO is empty, -1 will be read. No interrupts are fired when
the FIFO gets data, so you need a loop which waits until a character is read:
```
fetchChar:
move.w $FFE000,d0
bmi fetchChar ;Loop while reads a < 0 value
;Read something > 0 => got a character
```