File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 3
3
; Initialisation Code
4
4
; Author: Dean Belfield
5
5
; Created: 03/05/2022
6
- ; Last Updated: 15/10 /2022
6
+ ; Last Updated: 22/11 /2022
7
7
;
8
8
; Modinfo:
9
9
; 14/07/2022: Modified to run in MOS
10
10
; 15/10/2022: Added RST_08 and RST_10 handlers
11
+ ; 22/11/2022: Added MOS header block
11
12
12
13
SEGMENT __VECTORS
13
14
@@ -55,7 +56,15 @@ RST_30: DS 8
55
56
RST_38: EI
56
57
RETI
57
58
;
58
- ; This where the fun starts
59
+ ; The header stuff is from byte 64 onwards
60
+ ;
61
+ ALIGN 64
62
+
63
+ DB "MOS" ; Flag for MOS - to confirm this is a valid MOS command
64
+ DB 00h ; MOS header version 0
65
+ DB 00h ; Flag for run mode (0: Z80, 1: ADL)
66
+ ;
67
+ ; And the code follows on immediately after the header
59
68
;
60
69
_START: EI ; Enable the MOS interrupts
61
70
JP COLD ; Start BBC Basic for Z80
You can’t perform that action at this time.
0 commit comments