Created
November 28, 2013 14:37
-
-
Save Hultner/718e0be7645cd7e7c0da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Main.s12 | |
; Operatörstyrd borrautomat | |
; Definitioner | |
USE Labdefs.s12 | |
ORG $1000 | |
main: | |
; --- Initiera borrmaskinen | |
; | |
; Huvudprogram, invänta vald operation | |
main_loop: | |
JSR GetKbdML15 | |
; * Tangentkod nu i register B... | |
; * Utför vald operation | |
JSR Command | |
BRA main_loop | |
;------------------------------------------------ | |
; Rutinen Command med pekartabell och Dummy-subrutiner | |
;------------------------------------------------ | |
; Placer USE-direktiv här | |
USE ML15drvr.s12 | |
;--- | |
;Plzera alla globala variabler här | |
DCShadow: RMB 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment