Commit Graph
357 Commits
Author SHA1 Message Date
Paul Gardner-Stephen c80ff23599 ... and fix the same stupid use of wrong bit in iec_wait_for_clock_assert 2019-05-04 22:18:41 +09:30
Paul Gardner-Stephen b1945095fc fix stupid checking of wrong bit in iec_wait_for_clock_release 2019-05-04 22:16:47 +09:30
Paul Gardner-Stephen acbac9e5f8 simplify and fix iec_turnaround_to_listen based on 1541-III documentation 2019-05-04 22:13:59 +09:30
Paul Gardner-Stephen 37277ba5a3 try just reading error channel as a test 2019-05-04 22:09:42 +09:30
Paul Gardner-Stephen d0932029bb actually try 255 times before giving up when waiting for talker turnaround. 2019-05-04 22:09:19 +09:30
Paul Gardner-Stephen 84841ab283 fix bug in iec_tx_byte in acknowledgement check. 2019-05-04 22:01:36 +09:30
Paul Gardner-Stephen cdbb1b8c58 implement dummy read from command channel routine to aid debugging 2019-05-04 18:09:40 +09:30
Paul Gardner-Stephen 27432fa745 fix clearing C flag on return. 2019-05-04 18:08:57 +09:30
Paul Gardner-Stephen c536780970 fix mounting of disk image for test to not auto-run anything 2019-05-04 17:25:48 +09:30
Paul Gardner-Stephen eedc7e7b7e mount a D64 in VICE during tests, so that there is something to read 2019-05-04 17:13:27 +09:30
Paul Gardner-Stephen 6dd434c688 go back to trying to debug real file situation 2019-05-04 17:08:21 +09:30
Paul Gardner-Stephen 79017d2d50 fix FILE NOT FOUND detection in IEC ATN turnaround 2019-05-04 17:07:05 +09:30
Paul Gardner-Stephen 8994f3c608 generally try to debug the FILE NOT FOUND situation 2019-05-04 17:00:40 +09:30
Paul Gardner-Stephen 49d5733246 fix some bugs in IEC ATN turnaround 2019-05-04 16:59:37 +09:30
Paul Gardner-Stephen cc92b7d7e0 fix typo in iec_release_atn 2019-05-04 16:37:24 +09:30
Paul Gardner-Stephen 66c319f116 fix timeout comparison in iec_tx_byte 2019-05-04 16:35:04 +09:30
Paul Gardner-Stephen 7c89705dc6 nope, that didn't help at all, but did indeed result in live-lock as feared. 2019-05-04 12:02:52 +09:30
Paul Gardner-Stephen 3e0c6e3c1e try to fix ATN turn around to listen 2019-05-04 12:02:25 +09:30
Paul Gardner-Stephen 9f05cc3e4c instrument to debug loading. 2019-05-04 11:52:14 +09:30
Paul Gardner-Stephen cc3c17a48a add missing file 2019-05-04 11:47:52 +09:30
Paul Gardner-Stephen 9f6f179666 implement the rest of iec_rx_byte 2019-05-04 11:46:51 +09:30
Paul Gardner-Stephen dec2714ba0 begin implementing iec_rx_byte and rest of LOAD sequence 2019-05-04 11:30:03 +09:30
Paul Gardner-Stephen 92ac67d6a7 fix the bits we are setting and checking in IEC turn around to listen. 2019-05-04 11:22:02 +09:30
Paul Gardner-Stephen e5cdf77d50 more work towards IEC bus support: Work on LOAD routine and the necessary IEC functions for it. 2019-05-03 21:30:32 +09:30
Paul Gardner-Stephen 148a285633 correctly detect device not present 2019-05-02 21:55:11 +09:30
Paul Gardner-Stephen dcebe17e51 fix inverted sense of DATA line when writing bytes. We can now get a device to respond to an ATN byte. 2019-05-01 23:02:29 +09:30
Paul Gardner-Stephen e67eb37937 remove redundant IEC port write during TX setup 2019-05-01 22:45:18 +09:30
Paul Gardner-Stephen 86a579e91c don't corrupt Y register in iec_wait60ns 2019-05-01 22:45:02 +09:30
Paul Gardner-Stephen 568bbb1cb2 fix iec_release_clk to release correct bit 2019-05-01 22:44:29 +09:30
Paul Gardner-Stephen 3a8200d66d IEC serial bytes have 8 bits, not 9. Fix logic to count 8 bits on TX 2019-05-01 22:16:33 +09:30
Paul Gardner-Stephen 7caae74955 move debug code for testing IEC bus 2019-05-01 22:12:33 +09:30
Paul Gardner-Stephen 9f0880ed7e fix sense of DATA line reading. 2019-05-01 22:11:17 +09:30
Paul Gardner-Stephen 38b35d05ad fix asserting ATN line. 2019-05-01 22:10:57 +09:30
Paul Gardner-Stephen af7e93476c setup DDR for IEC serial bus 2019-05-01 21:52:22 +09:30
Paul Gardner-Stephen 687ed9c56a more work towards IEC bus. Also don't corrupt $DD00 VIC-II bank bits in the process. 2019-05-01 21:47:00 +09:30
Paul Gardner-Stephen 16dcfbe22b begin implementing IEC serial protocol. 2019-05-01 21:40:32 +09:30
Paul Gardner-Stephen 27b33c2b26 use more space efficient calling convention for calling errors 2019-05-01 07:37:52 +09:30
Paul Gardner-Stephen b45e7aab65 RUN does implicit CLR 2019-04-29 23:23:30 +09:30
Paul Gardner-Stephen f439cb0a83 correctly detect end of program 2019-04-29 23:21:46 +09:30
Paul Gardner-Stephen dec1ce257d simplify BASIC execution logic 2019-04-29 23:10:10 +09:30
Paul Gardner-Stephen 8ecd10d5cd implement SYS command. 2019-04-29 23:02:22 +09:30
Paul Gardner-Stephen 0d891bb06a consume white space when checking for end of statement 2019-04-29 22:41:51 +09:30
Paul Gardner-Stephen 6df769320a parse line number argument in RUN statement 2019-04-29 22:40:24 +09:30
Paul Gardner-Stephen 65af677caa factor out basic line number parsing routine 2019-04-29 22:36:25 +09:30
Paul Gardner-Stephen 270314640c refactor end of statement check. 2019-04-29 22:27:58 +09:30
Paul Gardner-Stephen 3bdfa8f834 make injest_number work from current basic statement pointer 2019-04-29 22:25:03 +09:30
Paul Gardner-Stephen 7c960fd6b4 implement RUN command. Show line number in errors when in program mode. 2019-04-29 22:20:02 +09:30
Paul Gardner-Stephen 995dc52967 work towards being able to run programs 2019-04-29 22:16:00 +09:30
Paul Gardner-Stephen b15ddafa6a allow multiple statements on single line. Issue #14 2019-04-29 22:05:27 +09:30
Paul Gardner-Stephen 3a58c781c7 carriage return clears quote and insert modes 2019-04-29 22:05:12 +09:30