1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-24 14:28:06 +11:00

Gather all RC2014 drivers into a single "RC2014 Recipe section"

This commit is contained in:
Virgil Dupras 2020-05-13 14:56:38 -04:00
parent 9b85961093
commit bd1e76ec5b
31 changed files with 19 additions and 13 deletions

View File

@ -5,11 +5,10 @@ MASTER INDEX
120 Linker 140 Addressed devices
150 Extra words
200 Z80 assembler 260 Cross compilation
280 Z80 boot code 350 ACIA driver
370 SD Card driver 390 Cross-compiled core
439 XPACKed core 480 AT28 Driver
280 Z80 boot code 390 Cross-compiled core
439 XPACKed core
490 TRS-80 Recipe 520 Fonts
550 TI-84+ Recipe
550 TI-84+ Recipe 580 RC2014 Recipe

View File

@ -1,3 +0,0 @@
SD Card driver
Load range: 372-387

7
blk/580 Normal file
View File

@ -0,0 +1,7 @@
RC2014 Recipe
Support code for the RC2014 recipe. Contains drivers for the
ACIA, SD card and AT28 EEPROM.
581 ACIA 590 AT28 EEPROM
600 SD card

View File

@ -13,4 +13,4 @@ ACIA_MEM: Address in memory that can be used variables shared
with ACIA's native words. 8 bytes used.
The whole driver is cross-compilable and is loaded with
"352 LOAD"
"582 LOAD"

View File

View File

View File

View File

View File

View File

View File

View File

@ -3,4 +3,4 @@ AT28 Driver
Write to an AT28 EEPROM while making sure that proper timing
is followed and verify data integrity.
Load with "481 LOAD"
Load with "591 LOAD"

View File

3
blk/600 Normal file
View File

@ -0,0 +1,3 @@
SD Card driver
Load range: 602-616

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -46,7 +46,7 @@ Addressed devices are at B140. To know what you have to paste, open the loader
block (B142) and see what blocks it loads. For each of the blocks, copy/paste
the code in your interpreter.
Do the same thing with the AT28 driver (B480)
Do the same thing with the AT28 driver (B590)
If you're doing the real thing and not using the emulator, pasting so much code
at once might freeze up the RC2014, so it is recommended that you use

View File

@ -72,13 +72,13 @@ instead.
Your Collapse OS binary needs the SDC drivers which need to be inserted during
Cross Compilation, which needs you need to recompile it from stage 1. First,
look at B370. You'll see that it indicates a block range for the driver. That
look at B600. You'll see that it indicates a block range for the driver. That
needs to be loaded.
Open xcomp.fs from base recipe and locate acia loading. You'll insert a line
right after that that will look like:
372 387 LOADR ( sdc )
602 616 LOADR ( sdc )
Normally, that's all you need to do. However, you have a little problem: You're
busting the 8K ROM limit. But it's ok, you can remove the linker's XPACKing

View File

@ -13,7 +13,7 @@ RAMSTART 0x70 + CONSTANT ACIA_MEM
282 LOAD ( boot.z80 )
393 LOAD ( xcomp core low )
352 LOAD ( acia )
582 LOAD ( acia )
420 LOAD ( xcomp core high )
(entry) _
( Update LATEST )