comparison runtime.S @ 317:e5e8b48ad157

Initial stab at horizontal interrupts and improving accuracy of vertical interrupts. Also added the VINT pending flag to status port.
author Mike Pavone <pavone@retrodev.com>
date Fri, 10 May 2013 22:57:56 -0700
parents 4a7ac10ac2d9
children 67b6d351df0e
comparison
equal deleted inserted replaced
316:fd7c24b97ebf 317:e5e8b48ad157
40 mov 92(%rsi), %cl 40 mov 92(%rsi), %cl
41 or $0x20, %cl 41 or $0x20, %cl
42 or %cl, 5(%rsi) 42 or %cl, 5(%rsi)
43 /* calculate interrupt vector address */ 43 /* calculate interrupt vector address */
44 mov 92(%rsi), %ecx 44 mov 92(%rsi), %ecx
45 mov %cx, 6(%rsi) /* interrupt acknowlege */
45 shl $2, %ecx 46 shl $2, %ecx
46 add $0x60, %ecx 47 add $0x60, %ecx
47 call m68k_read_long_scratch1 48 call m68k_read_long_scratch1
48 call m68k_native_addr_and_sync 49 call m68k_native_addr_and_sync
49 add $24, %eax 50 add $24, %eax