Commit Graph
377 Commits
Author SHA1 Message Date
Paul Gardner-Stephen e547b56003 fix various problems with LOAD taking a real filename. More to do. 2019-05-05 01:26:37 +09:30
Paul Gardner-Stephen f14cf20c92 explicitly compare read result with zero now that under ROM routines preserve P 2019-05-05 00:54:53 +09:30
Paul Gardner-Stephen 66964ab567 fix routines to peek/poke under ROMs 2019-05-05 00:53:14 +09:30
Paul Gardner-Stephen 000b87b87b send whole filename, instead of first char until end of time. 2019-05-05 00:52:41 +09:30
Paul Gardner-Stephen 4958ad696f more work towards making LOAD command accept filename 2019-05-05 00:45:26 +09:30
Paul Gardner-Stephen 2824abafd9 remove debug output 2019-05-05 00:27:01 +09:30
Paul Gardner-Stephen 74aaf9fe3f fix bug in print_integer with digit 9 2019-05-05 00:25:15 +09:30
Paul Gardner-Stephen 5586e61ab9 fix loading files > 255 bytes long. 2019-05-05 00:14:21 +09:30
Paul Gardner-Stephen f80b49b845 relink BASIC lines after loading a program. 2019-05-05 00:11:19 +09:30
Paul Gardner-Stephen 1b75d2bbfd remove debug 2019-05-05 00:11:13 +09:30
Paul Gardner-Stephen 6d74679a5c set end of loaded memory pointer in BASIC LOAD routine. Other small fixes. 2019-05-04 23:52:48 +09:30
Paul Gardner-Stephen 0a97a16552 remove some debug output 2019-05-04 23:41:19 +09:30
Paul Gardner-Stephen 19c9d655ce clear reverse video flag after displaying each line 2019-05-04 23:41:07 +09:30
Paul Gardner-Stephen 4a3ea0d091 Start implementing LOAD KERNAL routine to actually load where it should. 2019-05-04 23:38:42 +09:30
Paul Gardner-Stephen fa55c83fff generally remove some debug output, add missing file, and make KERNAL LOAD routine more complete. 2019-05-04 23:12:54 +09:30
Paul Gardner-Stephen d124349e50 handle EOI and generally get closer to a working LOAD routine 2019-05-04 23:05:23 +09:30
Paul Gardner-Stephen 287953dab6 fix latching of initial clock sequence when receiving a byte 2019-05-04 22:54:46 +09:30
Paul Gardner-Stephen 1e524eb8be send an invalid command instead. 2019-05-04 22:30:36 +09:30
Paul Gardner-Stephen ee87f4a775 get to the point of being able to receive some bytes before locking up. 2019-05-04 22:28:29 +09:30
Paul Gardner-Stephen ea070f9bfe ... and actually read the DATA bit when recording data in iec_rx_byte 2019-05-04 22:20:57 +09:30
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