mirror of
https://github.com/bradgrantham/apple2a.git
synced 2024-11-27 18:49:24 +00:00
Test code that breaks emulator.
This commit is contained in:
parent
d5ede1617d
commit
eba8aa7637
12
main.c
12
main.c
@ -91,6 +91,18 @@ int main(void)
|
|||||||
|
|
||||||
home();
|
home();
|
||||||
|
|
||||||
|
// Display the character set.
|
||||||
|
for (i = 0; i < 256; i++) {
|
||||||
|
// Fails with: unhandled instruction B2
|
||||||
|
move_cursor(i % 16, i >> 4);
|
||||||
|
// Works.
|
||||||
|
// move_cursor(i & 0x0F, i >> 4);
|
||||||
|
loc = cursor_pos();
|
||||||
|
*loc = i;
|
||||||
|
}
|
||||||
|
while(1);
|
||||||
|
|
||||||
|
|
||||||
// Title.
|
// Title.
|
||||||
for(i = 0; i < title_length; i++) {
|
for(i = 0; i < title_length; i++) {
|
||||||
loc[i] = title[i] | 0x80;
|
loc[i] = title[i] | 0x80;
|
||||||
|
Loading…
Reference in New Issue
Block a user