comparison os9/level1/clock.asm @ 56:4fa2bdb0c457

level vrbf and clock
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 23 Jul 2018 10:52:33 +0900
parents fc10b7ae23d0
children
comparison
equal deleted inserted replaced
55:8d151f303bee 56:4fa2bdb0c457
46 bita #$10 46 bita #$10
47 beq L00B4 47 beq L00B4
48 ldb #$8f start timer 48 ldb #$8f start timer
49 stb ,x 49 stb ,x
50 L00B4 50 L00B4
51 jsr [>D.SvcIRQ] 51 jmp [>D.SvcIRQ]
52 rti
53 52
54 ClkEnt equ * 53 ClkEnt equ *
55 ldd #59*256+$01 last second and last tick 54 ldd #59*256+$01 last second and last tick
56 std <D.Sec will prompt RTC read at next time slice 55 std <D.Sec will prompt RTC read at next time slice
57 * ldb #TkPerSec 56 * ldb #TkPerSec