multi_emu.git
3 years agoSplit decode_z80.sed into decode_z80_(pre|post).sed, simplify decoder
Nick Downing [Sat, 30 Jul 2022 03:07:02 +0000 (13:07 +1000)]
Split decode_z80.sed into decode_z80_(pre|post).sed, simplify decoder

3 years agoSplit decode_65c02.sed into decode_65c02_(pre|post).sed, simplify decoder
Nick Downing [Sat, 30 Jul 2022 02:53:48 +0000 (12:53 +1000)]
Split decode_65c02.sed into decode_65c02_(pre|post).sed, simplify decoder

3 years agoSplit disassembly part of decode_65c02.py into instr_65c02.py via text file
Nick Downing [Sat, 30 Jul 2022 02:08:49 +0000 (12:08 +1000)]
Split disassembly part of decode_65c02.py into instr_65c02.py via text file

3 years agoSplit disassembly part of decode_z80.py into instr_z80.py via text file
Nick Downing [Sat, 30 Jul 2022 01:52:48 +0000 (11:52 +1000)]
Split disassembly part of decode_z80.py into instr_z80.py via text file

3 years agoSwitch to tidied up sim68xx repo (hopefully this will be accepted upstream too)
Nick Downing [Mon, 25 Jul 2022 17:05:02 +0000 (03:05 +1000)]
Switch to tidied up sim68xx repo (hopefully this will be accepted upstream too)

3 years agoIn 6800, implement daa and interrupt system (untested), and clean up a bit
Nick Downing [Mon, 25 Jul 2022 12:36:30 +0000 (22:36 +1000)]
In 6800, implement daa and interrupt system (untested), and clean up a bit

3 years agoFix more booboos, it now runs the BASIC test the same as alternate backend
Nick Downing [Mon, 25 Jul 2022 09:39:49 +0000 (19:39 +1000)]
Fix more booboos, it now runs the BASIC test the same as alternate backend

3 years agoFix more issues
Nick Downing [Mon, 25 Jul 2022 07:29:24 +0000 (17:29 +1000)]
Fix more issues

3 years agoFix various issues
Nick Downing [Mon, 25 Jul 2022 07:01:33 +0000 (17:01 +1000)]
Fix various issues

3 years agoPreliminary 6800 CPU emulation, can compile but is not accurate yet
Nick Downing [Mon, 25 Jul 2022 06:02:12 +0000 (16:02 +1000)]
Preliminary 6800 CPU emulation, can compile but is not accurate yet

3 years agoAdd 6800 instruction table from disassembler in sim68xx (without 6301)
Nick Downing [Sun, 24 Jul 2022 04:29:01 +0000 (14:29 +1000)]
Add 6800 instruction table from disassembler in sim68xx (without 6301)

3 years agoAdd emu_6800_alt, and fairly simple tests based on Altair 6800 BASIC
Nick Downing [Sun, 24 Jul 2022 03:46:15 +0000 (13:46 +1000)]
Add emu_6800_alt, and fairly simple tests based on Altair 6800 BASIC

3 years agoIn Z80, rationalize block instructions, implement block I/O instructions
Nick Downing [Sat, 23 Jul 2022 07:09:30 +0000 (17:09 +1000)]
In Z80, rationalize block instructions, implement block I/O instructions

3 years agoImplement Z80 interrupt system, and 65C02/Z80 reset function
Nick Downing [Sat, 23 Jul 2022 04:18:44 +0000 (14:18 +1000)]
Implement Z80 interrupt system, and 65C02/Z80 reset function

3 years agoImplement 65C02 interrupt system
Nick Downing [Sat, 23 Jul 2022 02:09:52 +0000 (12:09 +1000)]
Implement 65C02 interrupt system

3 years agoAdd context argument to (read|write|in|out)_byte() functions
Nick Downing [Sat, 23 Jul 2022 01:35:09 +0000 (11:35 +1000)]
Add context argument to (read|write|in|out)_byte() functions

3 years agoImplement correct 8080-style port access (extends byte address to word with a)
Nick Downing [Fri, 22 Jul 2022 04:51:45 +0000 (14:51 +1000)]
Implement correct 8080-style port access (extends byte address to word with a)

3 years agoUpdate alternate Z80 backend to fix ZEXALL failure with redundant DD/FD prefix
Nick Downing [Fri, 22 Jul 2022 04:36:12 +0000 (14:36 +1000)]
Update alternate Z80 backend to fix ZEXALL failure with redundant DD/FD prefix

3 years agoTake most of DAA logic from https://github.com/kosarev/z80.git (MIT licensed)
Nick Downing [Fri, 22 Jul 2022 02:58:10 +0000 (12:58 +1000)]
Take most of DAA logic from https://github.com/kosarev/z80.git (MIT licensed)

3 years agoImplement Z80 instructions except block I/O group, can pass ZEXALL except daa
Nick Downing [Thu, 21 Jul 2022 19:27:25 +0000 (05:27 +1000)]
Implement Z80 instructions except block I/O group, can pass ZEXALL except daa

3 years agoHandle DDCB and FDCB instructions including undocumented variants
Nick Downing [Thu, 21 Jul 2022 13:05:02 +0000 (23:05 +1000)]
Handle DDCB and FDCB instructions including undocumented variants

3 years agoAdd my Z80 emulator, can compile but not run (all instructions trapped)
Nick Downing [Thu, 21 Jul 2022 10:11:51 +0000 (20:11 +1000)]
Add my Z80 emulator, can compile but not run (all instructions trapped)

3 years agoRefactoring 65C02 bit set/reset instructions
Nick Downing [Thu, 21 Jul 2022 05:07:22 +0000 (15:07 +1000)]
Refactoring 65C02 bit set/reset instructions

3 years agoRefactoring 65C02 predicated instructions
Nick Downing [Thu, 21 Jul 2022 05:01:53 +0000 (15:01 +1000)]
Refactoring 65C02 predicated instructions

3 years agoRefactoring 65C02 to remove abbreviations
Nick Downing [Thu, 21 Jul 2022 04:52:56 +0000 (14:52 +1000)]
Refactoring 65C02 to remove abbreviations

3 years agoRefactoring 65C02 to support big-endian and make inline functions public
Nick Downing [Thu, 21 Jul 2022 04:45:33 +0000 (14:45 +1000)]
Refactoring 65C02 to support big-endian and make inline functions public

3 years agoRefactoring 65C02 to remove macros
Nick Downing [Thu, 21 Jul 2022 02:43:01 +0000 (12:43 +1000)]
Refactoring 65C02 to remove macros

3 years agoRefactoring 65C02 registers and flags
Nick Downing [Thu, 21 Jul 2022 01:01:41 +0000 (11:01 +1000)]
Refactoring 65C02 registers and flags

3 years agoRefactoring 65C02 registers and branches
Nick Downing [Thu, 21 Jul 2022 00:46:01 +0000 (10:46 +1000)]
Refactoring 65C02 registers and branches

3 years agoAdd emu_z80, only alternate backend so far, can run ZEXALL (investigate 1 test)
Nick Downing [Wed, 20 Jul 2022 00:37:30 +0000 (10:37 +1000)]
Add emu_z80, only alternate backend so far, can run ZEXALL (investigate 1 test)

3 years agoCan now pass Klaus Dormann's 65C02 tests
Nick Downing [Tue, 19 Jul 2022 14:58:05 +0000 (00:58 +1000)]
Can now pass Klaus Dormann's 65C02 tests

3 years agoCan now pass Klaus Dormann's 6502 tests (not 65C02 yet)
Nick Downing [Tue, 19 Jul 2022 14:04:33 +0000 (00:04 +1000)]
Can now pass Klaus Dormann's 6502 tests (not 65C02 yet)

3 years agoFirst cut at 65C02 emulator, can compile, many features not implemented
Nick Downing [Tue, 19 Jul 2022 09:46:04 +0000 (19:46 +1000)]
First cut at 65C02 emulator, can compile, many features not implemented