1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00
Commit Graph

10995 Commits

Author SHA1 Message Date
Ryan Carsten Schmidt
d12316dfcf Change phase from int to uint8_t
output_colour_burst expects a uint8_t so may as well make that clear.
2023-12-15 04:49:13 -06:00
Ryan Carsten Schmidt
81ad864659 Fix OpenGL Apple II colors
Adjust phase by 90 degress.

Closes #872
2023-12-15 04:48:32 -06:00
Ryan Carsten Schmidt
cd4498a36a Improve macOS SDL Macintosh video & Apple II colors
Hacks in AppleII/Video.cpp, AppleII/Video.hpp, and Macintosh/Video.cpp
assume that building on macOS means building for Metal unless
IGNORE_APPLE is defined. By defining this in the macOS SDL build,
Macintosh video is now sized and positioned correctly and Apple II
colors are now just as wrong as they are on other OpenGL builds instead
of being wrong in a unique way.

See #872
2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
d31ecd8986 Link with OpenGL framework on macOS
Fixes "ld: library not found for -lGL"
2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
bb030fc141 Silence macOS OpenGL deprecation warnings 2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
778544b36e Link with Accelerate framework on macOS
Fixes "Undefined symbols for architecture x86_64: '_vDSP_dotpr_s1_15'"
2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
dc657bdd51 Use the right include path for SDL.h
Fixes "main.cpp:22:10: fatal error: 'SDL2/SDL.h' file not found" when
SDL2 is not in a standard system include directory.
2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
2352b4e6d8 Import PATH into scons environment
Fixes "/bin/sh: sdl2-config: command not found" when sdl2-config is not
in a standard system bin directory.
2023-12-15 01:27:28 -06:00
Ryan Carsten Schmidt
8256500877 Update GitHub workflow: also build SDL UI on macOS 2023-12-15 01:27:28 -06:00
Thomas Harte
def1f90d86
Merge pull request #1268 from TomHarte/EOI
Support auto-EOI.
2023-12-13 10:52:00 -05:00
Thomas Harte
5033d2046a Support auto-EOI. 2023-12-12 14:02:46 -05:00
Thomas Harte
b12ae263a3
Merge pull request #1267 from TomHarte/EOI
Support 8259 PIC specific EOIs.
2023-12-12 12:42:34 -05:00
Thomas Harte
a49a3da21c Merge branch 'master' into EOI 2023-12-12 12:15:13 -05:00
Thomas Harte
02b2b9d47e
Merge pull request #1265 from TomHarte/PCHD
Introduce high-density tracks.
2023-12-12 12:14:48 -05:00
Thomas Harte
2db04eb671 Add TODO list. 2023-12-12 10:59:43 -05:00
Thomas Harte
0c98a78bb5 Support specific EOIs. 2023-12-12 10:55:49 -05:00
Thomas Harte
d523242e08 Add TODO. 2023-12-12 09:35:05 -05:00
Thomas Harte
070f8d8bc3 Simplify control flow. 2023-12-12 09:29:28 -05:00
Thomas Harte
add3257258 Switch to using a Parser rather than duplicating one. 2023-12-11 19:13:37 -05:00
Thomas Harte
bfd6543067 Defaults can now be private. 2023-12-11 19:12:49 -05:00
Thomas Harte
50b4132db7
Merge pull request #1259 from TomHarte/NIBSlipBits
NIB: switch to a strategy supporting non-standard formats.
2023-12-11 10:33:22 -05:00
Thomas Harte
e79727d30d Enhance to support 'try-any' density. 2023-12-11 10:32:13 -05:00
Thomas Harte
a40ae08248 Be const correct; drop get_. 2023-12-11 09:58:24 -05:00
Thomas Harte
05bfab47d2 Merge branch 'master' into PCHD 2023-12-10 23:15:33 -05:00
Thomas Harte
44a19e8306
Merge pull request #1266 from TomHarte/DayOfMonth
Fix RTC day of the month, turbo keyboard resets.
2023-12-10 23:11:57 -05:00
Thomas Harte
ad6fe75296 Add yucky disk speed coupling. 2023-12-10 23:07:02 -05:00
Thomas Harte
d658e00f26 Add exposition, expand recorded data. 2023-12-10 22:59:50 -05:00
Thomas Harte
7b9cc2332e Extend amount of time it takes keyboard to reset. 2023-12-10 22:44:24 -05:00
Thomas Harte
04d75a3ab8 Return proper day-of-the-month value. 2023-12-10 22:44:08 -05:00
Thomas Harte
dae8a5cda2 Fix namespace. 2023-12-10 22:40:07 -05:00
Thomas Harte
98e05fb0e3 Introduce high-density tracks. 2023-12-10 22:17:23 -05:00
Thomas Harte
ada627d027 Decline to try to surface tracks past the end of the disk. 2023-12-09 15:36:47 -05:00
Thomas Harte
cbe5e69aa1 Add exposition. 2023-12-08 23:56:43 -05:00
Thomas Harte
39f2c8097e Remove second semicolon. 2023-12-08 23:55:27 -05:00
Thomas Harte
28cb0ad029 Try permitting a single sync section only. 2023-12-08 23:44:26 -05:00
Thomas Harte
371f109a84 Fix mark locations. 2023-12-08 23:41:14 -05:00
Thomas Harte
3c3cff568a Remove dead variable. 2023-12-08 23:25:56 -05:00
Thomas Harte
c481577f9f Simplify, and attempt to avoid reconversions. 2023-12-08 23:12:41 -05:00
Thomas Harte
0dfaca2a20 Merge branch 'master' into NIBSlipBits 2023-12-08 22:19:46 -05:00
Thomas Harte
671e59b27a
Merge pull request #1263 from TomHarte/IMDFiles
Add read-only support for IMD files.
2023-12-08 16:50:19 -05:00
Thomas Harte
42291cd789 Add documentation reference. 2023-12-08 15:38:05 -05:00
Thomas Harte
9ef28da322 Add read-only support for IMD images. 2023-12-08 15:37:13 -05:00
Thomas Harte
2a0176dde6
Merge pull request #1262 from TomHarte/PCTurbo
Add turbo option for PC execution.
2023-12-08 14:47:19 -05:00
Thomas Harte
f823310fe3 Add an appropriate crop. 2023-12-08 14:29:23 -05:00
Thomas Harte
1c47c64bcb Connect option to macOS UI. 2023-12-08 14:23:27 -05:00
Thomas Harte
fbf79c142a Undo accidental build-type switch. 2023-12-08 14:03:29 -05:00
Thomas Harte
0bf453199c Default to 'fast'. 2023-12-08 12:51:55 -05:00
Thomas Harte
604fca7fb1 Revise colour burst phase guess. 2023-12-08 11:55:00 -05:00
Thomas Harte
2ee873d1a1 This isn't intended to be exact. 2023-12-08 11:07:14 -05:00
Thomas Harte
e703721271 Tie snow avoidance to avoiding DEN. 2023-12-08 11:02:41 -05:00