Commit Graph

6 Commits

Author SHA1 Message Date
nickysn
1ae70c6825 * switch to interrupt mode 2 and install a custom maskable interrupt handler in
the ZX Spectrum startup code, because the ROM handler requires the IY register
  to always have a specific value, but the FPC code generator uses the IY
  register for various purposes, which causes random crashes and glitches when
  the timer interrupt occurs.

git-svn-id: trunk@45677 -
2020-06-22 14:00:33 +00:00
nickysn
de08108b27 + clear the .bss section on startup in the ZX Spectrum RTL
git-svn-id: trunk@45624 -
2020-06-07 23:28:03 +00:00
nickysn
4a78b7e073 * fixed stack initialization in the ZX Spectrum startup code
git-svn-id: trunk@45623 -
2020-06-07 23:22:57 +00:00
nickysn
e60ab7148d * fixed compilation with sdld
git-svn-id: trunk@45170 -
2020-04-29 01:53:01 +00:00
Károly Balogh
594138141a zxspectrum: in the pascal startup code, match start symbol name with the asm startup code
git-svn-id: trunk@45167 -
2020-04-29 01:18:37 +00:00
Károly Balogh
c206415450 zxspectrum: pascal startup code. this allows the RTL to be built with any assembler
git-svn-id: trunk@45165 -
2020-04-28 23:13:29 +00:00