Skip to content

Commit

Permalink
Move both BWDOS load code and BOOT sector for more compatibility.
Browse files Browse the repository at this point in the history
With this location, both old and new BW-DOS can be loaded with the same
boot code.
  • Loading branch information
dmsc committed Jan 28, 2024
1 parent 6724678 commit c9bfe26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dos/bwdos.asm
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ DEFHOU EQU 22
DEFMIN EQU 14
DEFSEC EQU 06

* Load address
LOADAD EQU $1C00
* Load address offset from $700
LOADAD EQU $2700-$700

ICL "equates.inc"
ICL "bwmac.src"
Expand Down
6 changes: 3 additions & 3 deletions utils/format.src
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ BUFF EQU $400
NAMBUFF EQU $500

; Actual BOOT code load address
BTORG EQU $3E00
BTORG EQU $2200
; BOOT code data buffer
BTDAT EQU $3C00
BTDAT EQU $2000
; BOOT code map buffer
BTMAP EQU $3D00
BTMAP EQU $2100

******* BOOT CODE *******
BOOTER DTA 0,3
Expand Down

0 comments on commit c9bfe26

Please sign in to comment.