mirror of
https://github.com/trebonian/visual6502.git
synced 2024-12-21 21:29:16 +00:00
move the I/O port (incremented value) to the top right for better visibility
This commit is contained in:
parent
b51b5c4398
commit
c7ac03edd8
@ -12,7 +12,7 @@ testprogramAddress=0x0000;
|
||||
var consoleboxStream="";
|
||||
|
||||
// demonstrate write hook
|
||||
writeTriggers[0x000c]="consoleboxStream += String.fromCharCode(d);"+
|
||||
writeTriggers[0x000F]="consoleboxStream += String.fromCharCode(d);"+
|
||||
"consolebox.innerHTML = consoleboxStream;";
|
||||
|
||||
// demonstrate read hook (not used by this test program)
|
||||
@ -25,11 +25,11 @@ testprogram = [
|
||||
0x4c, 0x02, 0x00, // JMP $0002
|
||||
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
0x40, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x40,
|
||||
|
||||
0xe8, // INX
|
||||
0x88, // DEY
|
||||
0xe6, 0x0c, // INC $0C
|
||||
0xe6, 0x0F, // INC $0F
|
||||
0x38, // SEC
|
||||
0x69, 0x02, // ADC #$02
|
||||
0x60 // RTS
|
||||
|
Loading…
Reference in New Issue
Block a user