First commit
[nightdriver.git] / NGTDRV.MAP
1                         NIGHT DRIVER MEMORY MAP\r
2 \r
3 \r
4                 0000 - 01FF     PAGE 0 AND 1 RAM\r
5                 0200 - 03FF     PLAYFIELD RAM (128 BYTES)\r
6                 0400 - 040F     PYLON HORIZONTAL POSITION (16 BYTES)\r
7                 0410 - 041F     PYLON VERTICAL POSITION (16 BYTES)\r
8                 0420 - 042F     PYLON SIZE (16 BYTES)\r
9                                 \r
10                                 D0 - D3 HEIGHT\r
11                                 D4 - D7 WIDTH\r
12                 043X            WATCHDOG CLEAR\r
13                 0600            OPTION SWITCH INPUT\r
14                                 D7 HEX SW MSB\r
15                                 D6 HEX SW                                                                       \r
16                                 D5 HEX SW\r
17                                 D4 HEX SW LSB\r
18                 0601            OPTION SWITCH INPUT\r
19                                 D7 TEST SWITCH\r
20                                 D6 VBLANK\r
21                                 D5 MODE SW 1 (BONUS TIME ENABLE/DISABLE)\r
22                                 D4 MODE SW 2 (TRACK SET SELECT)\r
23                 0602            GEAR SHIFT INPUT\r
24                                 D7 UNUSED\r
25                                 D6 3RD GEAR\r
26                                 D5 2ND GEAR\r
27                                 D4 1ST GEAR\r
28                 0603            MISC INPUTS\r
29                                 D7 STEERING CHANGE (STEERING WHEEL MOVED)\r
30                                 D6 STEERING DIRECTION (DIRECTION OF MOVE)\r
31                                 D5 MODE SW 4 (BONUS SCORE MORE DIFFICULT)\r
32                                 D4 MODE SW 3 (UNASSIGNED)\r
33                 0800            D7 COIN A SWITCH\r
34                 0801            "  COIN B SWITCH\r
35                 0802            "  GAME START SWITCH\r
36                 0803            "  ACCELERATOR PEDAL SWITCH\r
37                 0804            "  TRACK SELECT 1\r
38                 0805            "  TRACK SELECT 2\r
39                 0806            "  60 CYCLE AC IN\r
40                 0807            "  50/60 SELECT SWITCH (JUMPER)\r
41                 0A00            OUTPUT\r
42                                 D0 MOTOR SPEED SELECT 1\r
43                                 D1 MOTOR SPEED SELECT 2\r
44                                 D2 MOTOR SPEED SELECT 4\r
45                                 D3 MOTOR SPEED SELECT 8\r
46                                 D4 SKID 1 ENABLE\r
47                                 D5 SKID 2 ENABLE\r
48                 0000            OUTPUT\r
49                                 D0 CRASH SOUND ENABLE (PULSE)\r
50                                 D1 ATTRACT (DISABLE ALL SOUND)\r
51                                 D2 UNUSED\r
52                                 D3 UNUSED\r
53                                 D4 START LAMP ON/OFF\r
54                                 D5 UNUSED\r
55                 0E00            OUTPUT\r
56                                 D0 UNUSED\r
57                                 D1   "\r
58                                 D2   "\r
59                                 D3   "\r
60                                 D4   "\r
61                                 D5   "\r
62                 80XX            UNUSED\r
63                 84XX            STEERING CHANGE FF RESET (PULSE)\r
64                 9000 - 9FFF     PROGRAM\r
65 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0