1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 12:18:07 +11:00

Add parts/platforms

This commit is contained in:
Virgil Dupras 2019-04-12 15:53:05 -04:00
parent 7bf3e2f71e
commit 89e4edfa52
4 changed files with 13 additions and 8 deletions

View File

@ -0,0 +1,5 @@
# platforms
This is a collection of include files that set platform-specific constants
that different parts use. When assembling your own OS, pick the platform include
that is closest to yours and adapt it to your machine.

View File

@ -0,0 +1,5 @@
; classic RC2014 setup (8K ROM + 32K RAM) and a stock Serial I/O module
RAMEND .equ 0xa000
ACIA_CTL .equ 0x80 ; Control and status. RS off.
ACIA_IO .equ 0x81 ; Transmit. RS on.

View File

@ -5,13 +5,7 @@
; *** STATUS *** ; *** STATUS ***
; Incomplete. This just outputs the welcome prompt then halts ; Incomplete. This just outputs the welcome prompt then halts
; *** PLATFORM *** #include "platform.inc"
; this is specific to a classic RC2014 setup (8K ROM + 32K RAM). This will be
; reorganized into something better.
RAMEND .equ 0xa000
ACIA_CTL .equ 0x80 ; Control and status. RS off.
ACIA_IO .equ 0x81 ; Transmit. RS on.
; *** CONSTS *** ; *** CONSTS ***
CR .equ 0x0d CR .equ 0x0d

View File

@ -31,7 +31,8 @@ device I use in this recipe.
### Gathering parts ### Gathering parts
* `shell.asm` from `parts` * `parts/platforms/rc2014.inc` as `platform.inc`
* `parts/shell/shell.asm` as `shell.asm`
* [scas][scas] * [scas][scas]
* [romwrite][romwrite] and its specified dependencies * [romwrite][romwrite] and its specified dependencies
* [GNU screen][screen] * [GNU screen][screen]