Commit Graph
92 Commits
Author SHA1 Message Date
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