-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.asm
46 lines (39 loc) · 845 Bytes
/
main.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
40
41
42
43
44
45
46
BasicUpstart2(start)
//
// This is an implementation of chess for the Commdore 64
//
// Create the D64 image
.disk [filename="C64Chess.d64", name="C64 CHESS", id=" 2A"]
{
[name="C64 CHESS", type="prg", segments="Default"]
}
.const DEBUG=false
*=* "Main"
start:
jsr SetupSprites
jsr SetupScreen
jsr SetupCharacters
jsr SetupInterrupt
!readkeyboard:
jsr WaitForVblank
jsr ReadKeyboard
jmp !readkeyboard-
#import "vic.asm"
#import "macros.asm"
#import "pseudocommands.asm"
#import "equates.asm"
#import "math.asm"
#import "memory.asm"
#import "functions.asm"
#import "keyboard.asm"
#import "sprites.asm"
#import "clock.asm"
#import "board.asm"
#import "routines.asm"
#import "moves.asm"
#import "raster.asm"
#import "storage.asm"
#import "strings.asm"
#import "opening_moves.asm"
#import "characters.asm"
#import "menus.asm"