25 lines
982 B
Markdown
25 lines
982 B
Markdown
# Pat80 Operating System and Memory Monitor
|
|
|
|
## Intro
|
|
|
|
This folder contains the Pat80 Operating System.
|
|
It is a System Monitor that makes available also some system API to access hardware (monitor, sound, keyboard, parallel terminal...).
|
|
|
|
## Build
|
|
|
|
### Requirements
|
|
|
|
z80asm
|
|
minipro (if you want to write to an EEPROM)
|
|
|
|
### Make
|
|
|
|
The os can be **built** issuing command `make build`.
|
|
Two files will be generated:
|
|
- `rom.bin` is the rom file to be flashed on the eeprom
|
|
- `abi-generated.asm` is the file to be included in any Pat80 application to access system APIs (see README.md in ../applications/)
|
|
|
|
The os can be **written to an EEPROM** with a minipro-compatible programmer issuing command `make write`. This runs the build and then tries to write the rom to a MiniPRO.
|
|
|
|
The os can otherwise be **runned in the emulator** issuing command `make run`. This requires to have the emulator executable already built (follow the instructions on `pat80-emulator/README.md` to build it).
|