Commit Graph

6 Commits

Author SHA1 Message Date
nobuh c0f43127cc msgbuf.c format not a string warning during make 2023-06-07 23:24:44 +09:00
nobuh d47be2dd9e fix make: multiple definition of nrow and ncol
make fail by the error

/usr/bin/ld: main.o:(.bss+0x0): multiple definition of `nrow'; memory.o:(.bss+0x0): first defined here
/usr/bin/ld: main.o:(.bss+0x4): multiple definition of `ncol'; memory.o:(.bss+0x4): first defined here

fix definition of the global variables nrow and ncol.
2023-06-07 23:08:33 +09:00
nobuh 4be07cb2ee chmod -x on src files 2023-06-07 15:17:25 +09:00
Michael LeBlanc 032aacee39 Fix errors in 6502 emulation
This commit fixes the following behaviors:

Indirect X zero page addressing should always wrap and stay on zero page
BRK should disable interrupts
ADC in decimal mode should carry between nibbles based on adjusted,
  not original values.
Writes of status register to the stack should always set M and should
  set B on BRK/PHP and ~B on IRQ/NMI

Found and tested against
https://github.com/Klaus2m5/6502_65C02_functional_tests/blob/master/6502_functional_test.a65
2022-04-08 10:44:51 -07:00
nobuh 47d76b9493 ROMDIR env variables 2017-03-23 01:53:43 +09:00
Nobuhiro Hatano 17857df982 add all source from sourceforge napple1 2.2.1 2012-06-18 01:39:18 +09:00