]> git.sur5r.net Git - cc65/commit
Fixed the simulations of the stack pointer and the "break" and decimal-mode flags. 417/head
authorGreg King <gregdk@users.sf.net>
Tue, 4 Apr 2017 17:23:44 +0000 (13:23 -0400)
committerGreg King <gregdk@users.sf.net>
Tue, 4 Apr 2017 17:23:44 +0000 (13:23 -0400)
commitdce5783dc96bbf9165e8815c9df1314818241cb7
treebc8193a73efce8bff56464b0cc20753f322860ba
parente8065155416c060da83b03007ad17e9a837df2aa
Fixed the simulations of the stack pointer and the "break" and decimal-mode flags.

* The pointer wraps around the stack page.
* The break flag exists on only the stack, and only after an interrupt.
* 65C02 interrupts clear the decimal-mode flag.
src/sim65/6502.c