-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcode.asm
38 lines (29 loc) · 859 Bytes
/
code.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
;----------------------------------------------
;ELITE Electron
; Atom conversion by Kees van Oss 2012
;----------------------------------------------
.DEFINE asm_code $0400
.DEFINE header 1 ; Header Wouter Ras emulator
.DEFINE filenaam "CODE"
.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
exec = L3FB5
start_asm:
.include "elitecode.inc"
.include "8x6font.inc"
.include "keycodes.inc"
L6500:
eind_asm: