Skip to content
Permalink
Browse files

lamp support

  • Loading branch information
zacaj
zacaj committed Oct 4, 2018
1 parent 61657be commit bb52d4e3fc3d88a3970b888aa20f93f8770db739
Showing with 286 additions and 35 deletions.
  1. +17 −1 decls.asm
  2. +1 −0 dracula lights.csv
  3. +5 −3 io.txt
  4. BIN rom
  5. BIN rom.764
  6. BIN split.exe
  7. BIN tasmx.exe
  8. BIN template/tasmx.exe
  9. +263 −31 test.asm
  10. BIN u6.716
@@ -7,18 +7,34 @@ u11AControl .equ $0091
u11B: .equ $0092
u11BControl: .equ $0093

sound: .equ $00A0

switchRow: .equ u10B
switchStrobe: .equ u10A
lampAddress: .equ u10A
lampData: .equ u10A
scoreDispLatches: .equ u10A
displayData: .equ u10A
displayDigits: .equ u11A

RAM: .equ $0000
cRAM: .equ $0200

counter: .equ $0000
curDispDigitX: .equ $0001 ; + points to disp1_100k -> 1
curDispDigitBit: .equ $0003 ; bit 2 thru 7, shifted left
dU10ABackup: .equ $0004 ; store bank in case display irq interrupts zero irq

lamp1: .equ cRAM + $00
lamp1: .equ cRAM + $00 ; upper nibble is state of 4 lamps in this col
lamp16: .equ lamp1 + 15
disp1_100k: .equ cRAM + $10
disp1_1: .equ disp1_100k + 5
disp2_100k: .equ cRAM + $16
disp2_1: .equ disp2_100k + 5
disp3_100k: .equ cRAM + $1C
disp3_1: .equ disp3_100k + 5
disp4_100k: .equ cRAM + $22
disp4_1: .equ disp4_100k + 5
disp5_100k: .equ cRAM + $28
disp5_1: .equ disp5_100k + 5

@@ -0,0 +1 @@
,U1,U2,U3,U40,2k,4k,6k,8k1,10k,20k,,2,star 1,star 2,star 3,star rollover3,,left bat,left cat,4,,bat 2,cat 2,5x5,,bat 3,cat 3,double grey-b6,,bat 4,cat 4?,left spinner7,Y,X,Z,plus 4k eject8,,,,9,,,,10,shoot again,match,plus 4k 3 bank,plus double11,,,left special,right eb12,ball in play,high score,game over,tilt13,player 1,player 2,player 3,player 414,p1 up,p2 up,p3 up,p4 up
8 io.txt
@@ -1,4 +1,4 @@

$191F disp interrupt
U10: $88
A0-4: switch strobe ST0-4 (NH)
A5-7: dip switch 1-3 strobe (NH)
@@ -8,11 +8,13 @@ A0-3: lamp address
A4-7: lamp data
low to enable any of the four lamp chips
A0-3: display 1-4 latch, nored with CA2 J1-(20-24)
bcd enabled when high
bcd enabled when low and CA2 low (blanking high)
(disp reads when output high)
A4-7: display data
CA1: self test switch input (low = pressed?)
CA2: nored with display latch: display blanking/enable (low -> high blanking)
bcd blank when blanking high (signal low)
bcd blank when blanking high (CA2 low)
CA2 high disabled display latches
CB1: zero crossing input (NL)
CB2: dip switch 4 strobe (NH), lamp strobe 1
latches data for first lamp board on down signal
BIN +4 KB rom
Binary file not shown.
BIN +4 KB (200%) rom.764
Binary file not shown.
BIN +119 KB split.exe
Binary file not shown.
BIN +106 KB tasmx.exe
Binary file not shown.
BIN +111 KB template/tasmx.exe
Binary file not shown.

0 comments on commit bb52d4e

Please sign in to comment.
You can’t perform that action at this time.