-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelite.asm
39 lines (29 loc) · 872 Bytes
/
elite.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
;----------------------------------------------
;ELITE Electron
; Atom conversion by Kees van Oss 2012
;----------------------------------------------
.DEFINE asm_code $4000
.DEFINE header 1 ; Header Wouter Ras emulator
.DEFINE filenaam "ELITE"
.org asm_code-22*header
.IF header
;********************************************************************
; ATM Header for Atom emulator Wouter Ras
name_start:
.byte filenaam ; Filename
name_end:
.repeat 16-name_end+name_start ; Fill with 0 till 16 chars
.byte $0
.endrep
.word asm_code ; 2 bytes startaddress
.word exec ; 2 bytes linkaddress
.word eind_asm-start_asm ; 2 bytes filelength
;********************************************************************
.ENDIF
start_asm:
.include "elitedata.inc"
.include "8x6font.inc"
.include "demo.inc"
.include "elitesong.inc"
eind_asm:
exec = L1C00