1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00
Commit Graph

214 Commits

Author SHA1 Message Date
Thomas Harte fd33ee0e09 Resolve implicit conversion error. 2025-12-11 17:53:16 -05:00
Thomas Harte 67171f348a Use std::copy_n where it more directly matches intent. 2025-12-10 22:23:42 -05:00
Thomas Harte 461239e2e9 Further reduce memcpy reliance. 2025-12-06 14:03:00 -06:00
Thomas Harte 95ccdeb0e9 Attempt to resolve GCC's control flow concern. 2025-11-26 22:46:42 -05:00
Thomas Harte 906a16a6c1 Size RAM pool only as required. 2025-11-26 22:36:08 -05:00
Thomas Harte e861a50158 Allow case sensitivity preference to be stated. 2025-11-26 15:35:28 -05:00
Thomas Harte c23791ba1d Comment and collapse a lot of the recent indirectness. 2025-11-26 12:01:22 -05:00
Thomas Harte 203a03ef24 Unify source of memory map layout. 2025-11-26 11:50:45 -05:00
Thomas Harte edab2a7fd5 Start trying to support host FS user read from ROM. 2025-11-26 09:26:15 -05:00
Thomas Harte 2dd2b279c8 Note reason for that particular way of marking code. 2025-11-22 09:49:06 -05:00
Thomas Harte 88c124aa9f Implement destroy channel, treat it as the fallback for create channel. 2025-11-22 09:46:02 -05:00
Thomas Harte e2ef3226af Implement destroy channel. 2025-11-22 09:39:05 -05:00
Thomas Harte 507b81a8a4 Implement SetChannelStatus. 2025-11-22 09:16:53 -05:00
Thomas Harte 31d7639761 Force user/native space selection into call sites. 2025-11-21 22:53:58 -05:00
Thomas Harte 10847b3e0b Fill in everything except SetChannelStatus. 2025-11-21 22:44:49 -05:00
Thomas Harte 7b513a95a1 Restructure, separating create from open. 2025-11-21 22:24:31 -05:00
Thomas Harte 411b96128c Further address type conversions. 2025-11-21 22:07:30 -05:00
Thomas Harte 5ef5478861 Resolve signedness warning. 2025-11-21 21:54:43 -05:00
Thomas Harte 50adbaefc8 Support BAS files, use file name from guest. 2025-11-21 21:53:53 -05:00
Thomas Harte 424d57c2c1 Fix executable name. 2025-11-21 21:30:02 -05:00
Thomas Harte 76ed9d1703 Add FileMode to key file loader. 2025-11-21 21:11:27 -05:00
Thomas Harte c4bab00c6d Set file: as default filing system when in use. 2025-11-21 21:06:00 -05:00
Thomas Harte ac9fc15981 Banish magic constant. 2025-11-21 17:03:28 -05:00
Thomas Harte 1b977cae64 Add TODO. 2025-11-21 15:56:44 -05:00
Thomas Harte 0cd1921971 Resolve addressing confusion. 2025-11-21 15:54:43 -05:00
Thomas Harte c193315e17 Further consolidate for style. 2025-11-21 13:28:45 -05:00
Thomas Harte 364996021e Deal correctly with BC = 0. 2025-11-21 13:18:42 -05:00
Thomas Harte f287c80e39 Pass on EXOS error code if received. 2025-11-21 13:14:52 -05:00
Thomas Harte f4a9a64c93 Slightly rearrange. 2025-11-21 13:11:05 -05:00
Thomas Harte c464ffaeac Attempt read block. 2025-11-21 13:08:52 -05:00
Thomas Harte 822aa4155d The read character is supposed to go into B. 2025-11-21 13:02:13 -05:00
Thomas Harte 3d192e22f2 It seems error codes changed at some point. 2025-11-21 12:58:54 -05:00
Thomas Harte 6e8e2b6201 Call EXOS for buffer allocation. 2025-11-21 12:32:06 -05:00
Thomas Harte 16e4144409 Switch to local ROM. 2025-11-20 22:30:15 -05:00
Thomas Harte 6dacc50163 Add dispatch table and hooks. 2025-11-20 21:50:57 -05:00
Thomas Harte 6d71ad9bcc I think this is code, not a pointer. 2025-11-20 20:11:20 -05:00
Thomas Harte fc5d93f9cc Focus on writing an in-machine ROM. 2025-11-20 20:08:00 -05:00
Thomas Harte 3196840b05 Avoiding losing channel number; implement EOF check. 2025-11-20 17:26:44 -05:00
Thomas Harte 51eea4dea3 Attempt read character. 2025-11-20 17:16:30 -05:00
Thomas Harte 314154e9fd Implement open/create and close, of the key file. 2025-11-20 17:12:31 -05:00
Thomas Harte 39a96a7f73 Proceed to realisation that I'm probably looking in the wrong RAM. 2025-11-20 16:15:04 -05:00
Thomas Harte 9ee7425627 Add missing include for std::shared_ptr. 2025-11-20 15:58:53 -05:00
Thomas Harte 923fdd42ec Add a printf for tracking. 2025-11-20 15:35:06 -05:00
Thomas Harte 50cd28f882 Add three device-descriptor-specific functions. 2025-11-20 15:32:57 -05:00
Thomas Harte 1cf3c77ae9 Forward file bundle and host FS traps to the handler. 2025-11-20 13:11:09 -05:00
Thomas Harte 4f09f38f2e Unify naming, record trap addresses. 2025-11-20 12:49:21 -05:00
Thomas Harte 4980caee1b Merge branch 'T' into EXOSDirect 2025-11-20 12:44:33 -05:00
Thomas Harte ae89c66b17 Transcribe basic function and error codes. 2025-11-20 12:42:56 -05:00
Thomas Harte bb7059a9e1 KEEPSAKE. 2025-11-20 12:41:41 -05:00
Thomas Harte 25bf7df4d1 Install FILE IO ROM and list out syscall points. 2025-11-19 21:53:53 -05:00