Commit Graph

276 Commits

Author SHA1 Message Date
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
Brad Grantham
ee0b5fc58c move diskII bin file to the right name 2019-02-13 23:15:03 -08:00
Brad Grantham
a04b9aaf87 set the default as no joysticks 2019-02-13 23:14:22 -08:00
Brad Grantham
bfce99f86f match new name of disk rom file 2019-02-10 23:18:05 -08:00
Brad Grantham
4472db0405 rename disk rom file to match size 2019-02-10 23:17:24 -08:00
Brad Grantham
dcb27ce242 silence GL deprecation 2019-02-10 22:58:06 -08:00
Brad Grantham
6f9ed33f2f remove unused file 2019-02-10 22:54:53 -08:00
Brad Grantham
e1ea979006 remove old comment 2019-02-10 22:54:53 -08:00
Brad Grantham
6e04af2752 make run on Linux 2019-02-10 20:30:22 -08:00
Brad Grantham
bfc177ef10 Add gl_utility.o to Linux build 2019-02-10 20:01:50 -08:00
Lawrence Kesteloot
1591046c74 Add way to disable 65C02 instructions. 2019-02-06 23:23:33 -08:00
Brad Grantham
68cfd142b1 make GL utilities have better name 2018-10-15 21:11:29 -07:00
Brad Grantham
fc795a4a33 make GL utilities have better name 2018-10-15 21:11:17 -07:00
Brad Grantham
a9e48a509a initial breakout of UI widget classes 2018-10-15 21:09:51 -07:00
Brad Grantham
420f016098 extract program compilation and rect v array buffer 2018-10-14 12:49:58 -07:00