-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.asm
More file actions
54 lines (47 loc) · 1009 Bytes
/
Copy pathmain.asm
File metadata and controls
54 lines (47 loc) · 1009 Bytes
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
47
48
49
50
51
52
53
54
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 ClearTimers
jsr SetupTimers
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 "constants.asm"
#import "version.asm"
#import "layout.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 "display.asm"
#import "input.asm"
#import "game.asm"
#import "menus.asm"
#import "timers.asm"
#import "ai/ai.asm"