Simple simuLation systemS
An Environment to Play with Real IT
Front Panel
Terminal Screen
Graphics Screen
X
Programm Editor
// Breakout START N6502 RND EQU $FE TRM EQU $FF SCRN EQU $B000 SND1 EQU $C000 SND2 EQU $C010 MASK EQU $C801 BTNS EQU $C802 ORG $10 PTR2 DC
Scrn org $200 Prog: LDA #
scrn sta $11 LDX #7 LDA #$12 p1: LDY #39 P2: STA (ptr2),Y DEY BPL p2 pha clc LDA ptr2 ADC #40 STA ptr2 BCC *+4 INC $11 PLA CLC ADC #$22 DEX BNE p1 LDA #$8F STA SND1 glp: LDA MASK // Game+1 BEQ glp LDA BTNS // Game+2 LDY #$08 olp: DC x'2A' // ROL A TAX LDA #'-' BCC *+4 LDA #'1' STA TRM TXA DEY BNE olp LDA #$0D STA TRM JMP GLP Ende BRK END prog