Commit Graph

290 Commits

Author SHA1 Message Date
Brad Grantham
a96f3dd757 add more files to ignore 2020-12-31 11:10:04 -08:00
Brad Grantham
b3d24a6b68 add a little bit about the emulator 2020-12-31 11:09:48 -08:00
Brad Grantham
faed4b2b06 add an XBox 360 USB controller paddle .ini 2020-12-31 11:08:41 -08:00
Brad Grantham
1485cae18b add a Samsung wireless control paddle .ini 2020-12-31 11:08:18 -08:00
Brad Grantham
75d0d9e881 add falstad.com simulation of Apple ][ speaker 2020-12-31 11:07:50 -08:00
Brad Grantham
b775c0e501 add crude tool for enormous line-by-line diffs 2020-12-31 11:07:16 -08:00
Brad Grantham
3a97aa61a5 Add more to ignore 2020-12-31 11:06:07 -08:00
Brad Grantham
0ac1fc7ee8 Add floppy stepper motor state generator 2020-12-31 11:01:56 -08:00
Brad Grantham
915a359215 Redesign stepper motor emulation, now boots ProDOS
Add some names for MMIOs so we can get slightly better debug output
2020-12-31 11:00:09 -08:00
Brad Grantham
6e2e54e2be Add more 65C02 instructions, fix BRK on 65C02 2020-12-31 10:58:52 -08:00
Brad Grantham
0666038298 fix disassembly address 2020-12-31 10:58:46 -08:00
Brad Grantham
43c3c8a704 fix 80col by repage_regions also on read softswitches 2020-12-27 22:03:56 -08:00
Brad Grantham
28d4f712a0 improve bank switch logic, trying to fix 80 col 2020-12-27 20:55:26 -08:00
Brad Grantham
afb222f18f initialize CPU correctly, never set bit 4 or 5 of P 2020-12-27 20:50:32 -08:00
Brad Grantham
c798a2d886 take bin file name as an argument 2020-12-27 18:18:13 -08:00
Brad Grantham
ae2748dc0b remove fake6502 from link 2020-12-27 18:17:35 -08:00
Brad Grantham
1271db3d95 fix slow floppy
Read data even if floppy motor is off?!?!

invert sense of CXROM

make some arrays const

improve debugger slightly
    fix disassembly
    add breakpoints
    add "step"
2020-12-26 23:03:13 -08:00
Brad Grantham
734900c314 add BBR, BBS, PLY, PHY, and PLX 65C02 instructions 2020-12-26 11:48:52 -08:00
Brad Grantham
1d8f0e0564 Fix some instructions, add missing ones
Get cpu6502 to pass functional tests from https://github.com/Klaus2m5/6502_65C02_functional_tests

Set bit 5 on status register pushed during IRQ, NMI, BRK.

Fix return address pushed for BRK

Fix flag setting for ROR

Fix flags pushed with PHP

Fix return address for RTI

Add 0xD5 - DEC zpg, X

Add 0xE1 - SBC (ind, X)

Add 0x61 - ADC (ind, X)

Add 0x1E - ASL abs, x

Add 0x21 - AND (ind, X)

Add 0x96 - STX zpg, Y

add 0x75 - ADC zpg, X
2020-12-21 14:59:37 -08:00
Brad Grantham
bbe1934dec add simple loader/tester for 6502
hardcoded to load and run functtional tests from https://github.com/Klaus2m5/6502_65C02_functional_tests
2020-12-21 14:58:50 -08:00
Brad Grantham
e2008da797 init members valgrind warned about; be brief in cpu state 2020-12-20 14:49:46 -08:00
Brad Grantham
ed858b6eed update to better int types 2020-12-16 23:51:18 -08:00
Brad Grantham
3c1b43f2ad use more well-defined int types 2020-12-16 23:03:43 -08:00
Brad Grantham
fb7d31d814 make ordering explicit of some 16-bit addressing 2020-12-16 22:55:29 -08:00
Brad Grantham
c2eb84b38c use more well-defined int types 2020-12-16 22:55:29 -08:00
Brad Grantham
0afdc0088d update to current interface API 2020-12-16 22:54:02 -08:00
Brad Grantham
65d8f90cf7 on reset turn floppy off; MAINboard resets all boards; fix #47 2020-12-14 19:48:17 -08:00
Brad Grantham
13ece22f09 only load new track when read 2020-12-13 15:44:22 -08:00
Brad Grantham
7345f28aa1 make head state be per-drive 2020-12-12 10:17:13 -08:00
Brad Grantham
f4e19dc5d3 add reference to shamusworld apple emulator 2020-12-12 10:16:49 -08:00
Brad Grantham
8f04f04543 read tracks from disk on demand 2020-12-12 09:44:44 -08:00
Brad Grantham
b99576c1e0 read sectors from disk instead of reading whole floppy 2020-12-12 08:38:58 -08:00
Brad Grantham
d20991ae8e use a function to nybblize sector 2020-12-11 22:02:52 -08:00
Brad Grantham
ba52591064 display speed 2020-12-11 22:01:21 -08:00
Brad Grantham
155690cdaa move to C++17 2020-12-11 22:00:48 -08:00
Brad Grantham
ca58c87abf make some consts constexpr and int for warnings 2020-12-10 17:19:39 -08:00
Brad Grantham
2022b375bd more const char*, only issue mode change if there was a change 2020-12-06 20:08:03 -08:00
Brad Grantham
38f64dcd47 disable LK_HACK 2020-12-05 17:31:46 -08:00
Brad Grantham
c81a6a8dce Apply some fixes from Rocinante port
More const on char*s
Remove virtual from MAINboard read and write and just call them directly
Move up regions slightly so they might perform better
2020-12-05 17:19:21 -08:00
Brad Grantham
42109817f2 only check EXIT_ON_OPENGL_ERROR on startup 2020-05-26 23:30:48 -07:00
Brad Grantham
ef922fa355 fix steady slowdown 2020-01-20 23:11:39 -08:00
Brad Grantham
0a9399d646 use raw string literals 2020-01-11 18:20:27 -08:00
Brad Grantham
b76c734115 set env var PROBE_JOYSTICKS to probe axes and buttons 2019-10-15 10:37:18 -07:00
Brad Grantham
216f74cc32 print only active axes and buttons in probe 2019-10-15 09:29:25 -07:00
Brad Grantham
687e80e16e delete vertex array on recreation, comment out speed 2019-02-18 19:39:32 -08:00
Brad Grantham
fd1e15a595 add clock text box 2019-02-18 08:11:22 -08:00
Brad Grantham
0b61b25667 point out I copied the nybblization code 2019-02-16 09:47:22 -08:00
Brad Grantham
efd376ee3b link to home page, add loder runner image 2019-02-16 09:24:25 -08:00
Brad Grantham
fe8e4a5058 update formatting from Jim's aed512 version of cpu6502 2019-02-16 08:49:10 -08:00
Brad Grantham
0bb0b6ffd4 add B6 and C1 instructions 2019-02-16 08:44:49 -08:00