Commit Graph
100 Commits
Author SHA1 Message Date
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
Paul Gardner-Stephen b44869c87b fix handling of Vendor key combo parsing when screen scraping keyboard input 2019-04-29 21:53:06 +09:30
Paul Gardner-Stephen 38c3f158d2 Fix display of shift+key combos in REM and quote strings. Issue #11 2019-04-29 21:44:29 +09:30
Paul Gardner-Stephen b5ab7ba10c fix CHROUT handling of most character codes 2019-04-29 21:36:56 +09:30
Paul Gardner-Stephen 8ffe1b61da fix display of quoted control codes. Issue #11 2019-04-29 21:25:23 +09:30
Paul Gardner-Stephen 366ee483cb Simplify and improve control code detection 2019-04-29 21:19:04 +09:30
Paul Gardner-Stephen 2b9f1cc2ee Fix Issue #17 2019-04-29 21:12:01 +09:30
Paul Gardner-Stephen 67ac641741 make LIST command honour REM and quotes. 2019-04-29 21:08:53 +09:30
Paul Gardner-Stephen bc5e3cdbb9 Fix Issue #15 2019-04-29 21:00:00 +09:30
Paul Gardner-Stephen 71567e39ac LIST now largely works. 2019-04-28 22:48:03 +09:30
Paul Gardner-Stephen 8c84566e53 begin implementing LIST command printing of line bodies 2019-04-28 22:37:11 +09:30
Paul Gardner-Stephen c7db426bd3 begin implementing LIST command 2019-04-28 22:30:49 +09:30
Paul Gardner-Stephen 6a0b2d8e7f implement beginnings of BASIC main loop execution 2019-04-28 22:10:32 +09:30
Paul Gardner-Stephen 06a227696e begin implementing BASIC command loop 2019-04-28 21:59:02 +09:30
Paul Gardner-Stephen 30e900e2cf implement syntax error as default behaviour 2019-04-28 21:51:44 +09:30
Paul Gardner-Stephen 249266232c begin implementing framework for interpreting BASIC statements. 2019-04-28 21:50:52 +09:30
Paul Gardner-Stephen 3ab4f385ac fix printing of integers and BASIC free bytes on startup 2019-04-28 21:36:33 +09:30
Paul Gardner-Stephen 0c05cd335f fix inverted sense of cartridge detect in free RAM calculation 2019-04-28 21:27:31 +09:30
Paul Gardner-Stephen 9ac00426f3 display correct # of basic bytes free on startup 2019-04-28 21:26:33 +09:30
Paul Gardner-Stephen 2193cf9520 fix integer printing routine 2019-04-28 21:21:53 +09:30
Paul Gardner-Stephen c1a85217a0 work towards printing integers 2019-04-28 21:19:41 +09:30
Paul Gardner-Stephen e0bd266f6e don't print READY after entering, modifying or deleting a line of BASIC 2019-04-28 20:51:54 +09:30
Paul Gardner-Stephen 4a4e6ddbb9 fix Issue #13 2019-04-28 20:48:46 +09:30
Paul Gardner-Stephen f43fedea21 remove more debug output 2019-04-28 20:44:05 +09:30
Paul Gardner-Stephen ced0eeb319 disable debug output in basic line inserting, deleting and replacing 2019-04-28 20:41:38 +09:30
Paul Gardner-Stephen ff10535447 fix deleting line bugs 2019-04-28 20:39:15 +09:30
Paul Gardner-Stephen 696c908483 fix bugs in calculation of memory range to copy down. 2019-04-28 20:33:07 +09:30
Paul Gardner-Stephen 906fe108b3 work towards being able to delete BASIC lines 2019-04-28 20:27:19 +09:30
Paul Gardner-Stephen 490dda059f expand documentation of line replacement 2019-04-28 20:06:26 +09:30
Paul Gardner-Stephen 9d83d95a6c don't re-insert an empty line if deleting a line 2019-04-28 19:58:45 +09:30
Paul Gardner-Stephen 5031764214 Fix issue #12 2019-04-28 17:01:17 +09:30
Paul Gardner-Stephen 885fcca833 fix bug in calculation of shift memory up bounds, and add debugging 2019-04-28 16:37:38 +09:30
Paul Gardner-Stephen e04a648044 finish implementing printf function 2019-04-28 16:20:25 +09:30
Paul Gardner-Stephen e1462ae989 replace out of range branch to stop inference by Ophis 2019-04-28 16:20:04 +09:30
Paul Gardner-Stephen cbd92e9351 printf inline hex bytes and word display now works. 2019-04-28 13:54:43 +09:30
Paul Gardner-Stephen 83fbaeffe2 fix bug in return from printf 2019-04-28 13:44:55 +09:30
Paul Gardner-Stephen 5f19f62ab8 more work on basic line linking and management 2019-04-28 13:41:36 +09:30
Paul Gardner-Stephen 183e6f784c begin implementing printf-like debug function 2019-04-28 13:41:08 +09:30
Paul Gardner-Stephen daaa0b51af fix bugs with storing basic lines. Now inserting lines seems to mostly work. 2019-04-28 02:52:04 +09:30
Paul Gardner-Stephen 5a5be5d8ec fix several bugs with storing BASIC lines 2019-04-28 02:07:17 +09:30
Paul Gardner-Stephen d2e4822f37 zero all bytes of FAC1 when erasing 2019-04-28 01:22:50 +09:30
Paul Gardner-Stephen 064b84d2e9 zero memory pointer in NEW command 2019-04-28 01:22:26 +09:30
Paul Gardner-Stephen 7f54f6cdd8 copy null at end of basic line when storing to memory 2019-04-28 01:22:09 +09:30
Paul Gardner-Stephen 08b1327044 set $2B/$2C pointers when inserting a line of BASIC text 2019-04-28 01:08:56 +09:30
Paul Gardner-Stephen 64dbdcdefb can now store a single line of basic into memory 2019-04-28 01:06:16 +09:30
Paul Gardner-Stephen 580b7961a5 more work on inserting and deleting BASIC lines. 2019-04-28 00:28:38 +09:30
Paul Gardner-Stephen 84c02486fe begin implementing memory copy routines for inserting and deleting BASIC lines. 2019-04-28 00:17:20 +09:30
Paul Gardner-Stephen b7de93a3a6 abort line search as soon as we find a line with too high a line number. 2019-04-27 23:48:57 +09:30
Paul Gardner-Stephen 5358743318 begin implementing basic text manipulation routines. 2019-04-27 23:47:06 +09:30
Paul Gardner-Stephen 6d57d17b74 properly initialise memory when BASIC starts. 2019-04-27 23:08:11 +09:30
Paul Gardner-Stephen eef572e0ab work on getting BASIC line number entry working. 2019-04-27 23:00:20 +09:30
Paul Gardner-Stephen bd4af88e02 fix bug in number parsing. 2019-04-27 22:22:42 +09:30
Paul Gardner-Stephen 26ca54660a begin parsing line numbers at start of lines 2019-04-27 22:18:43 +09:30
Paul Gardner-Stephen 1325f31010 rename inject_number to injest_number 2019-04-27 22:14:32 +09:30
Paul Gardner-Stephen 13a2d6f6cb don't tokenise content following a REM statement. 2019-04-27 22:13:20 +09:30
Paul Gardner-Stephen 7831441cac strip leading spaces from received line before tokenising 2019-04-27 22:09:56 +09:30
Paul Gardner-Stephen b1655ac7a9 work on parsing numbers from strings. 2019-04-27 22:03:04 +09:30
Paul Gardner-Stephen 8cb5e7e7c5 add more explanations of matching bytes 2019-04-26 23:53:25 +09:30
Paul Gardner-Stephen fd46b9314c speed up line tokeniser for common cases 2019-04-26 23:39:52 +09:30
Paul Gardner-Stephen fd612be221 replace keywords with correct tokens in tokeniser 2019-04-26 23:31:08 +09:30
Paul Gardner-Stephen 79997c9e0e implement quote mode when tokenising basic lines 2019-04-26 23:16:54 +09:30
Paul Gardner-Stephen df55ff6d25 honour length of packed keyword table 2019-04-26 23:10:47 +09:30
Paul Gardner-Stephen 11392d883c remove debug output from tokeniser 2019-04-26 23:05:14 +09:30
Paul Gardner-Stephen eedf82f1fd fix bugs in pack_word and tokenising 2019-04-26 23:01:05 +09:30
Paul Gardner-Stephen 1bb72973fa implement reporting BASIC errors, continuing work on tokeniser 2019-04-26 22:27:59 +09:30
Paul Gardner-Stephen 428bd8e497 fix advancing in raw string when encountering a non-token during tokenisation 2019-04-26 22:09:16 +09:30
Paul Gardner-Stephen 1c46bc55e6 add gitignore with entries for generated assembly files 2019-04-26 22:08:56 +09:30
Paul Gardner-Stephen 06c6bd9c20 work on basic tokeniser 2019-04-26 22:02:56 +09:30
Paul Gardner-Stephen 736fbca535 fix compression of exception characters in some sitatuations. 2019-04-25 23:29:50 +09:30
Paul Gardner-Stephen 92f80e2281 fix display of keywords from TAB( onwards. Issue #9 2019-04-25 23:24:03 +09:30
Paul Gardner-Stephen 7243e41749 reject false positive matches on keywords 2019-04-25 23:11:44 +09:30
Paul Gardner-Stephen c6167d37cb token search now basically works. 2019-04-25 23:04:39 +09:30
Paul Gardner-Stephen 04e5dd326f fix some problems with token searching 2019-04-25 22:37:00 +09:30
Paul Gardner-Stephen 3892503289 begin implementing token search routine 2019-04-25 22:28:10 +09:30
Paul Gardner-Stephen fbad812b56 fix bounds check 2019-04-25 22:11:59 +09:30
Paul Gardner-Stephen 8469eac339 fix unpacking of strings with $FF tokens 2019-04-25 21:58:37 +09:30
Paul Gardner-Stephen 55cd33d1db fix input of letter Z 2019-04-25 21:58:27 +09:30
Paul Gardner-Stephen 54b0cff2fd fix some bugs with unpacking literal chars 2019-04-25 21:52:09 +09:30