Commit Graph
100 Commits
Author SHA1 Message Date
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
Paul Gardner-Stephen d8c236009d fix even more bugs in pack_word 2019-04-25 21:46:24 +09:30
Paul Gardner-Stephen 88736b1523 fix some bugs in pack_word routine 2019-04-25 21:38:11 +09:30
Paul Gardner-Stephen e5892b6a3d fix pack_word bugs 2019-04-25 21:24:23 +09:30
Paul Gardner-Stephen bd608b5592 fix some bugs in pack_word 2019-04-25 21:20:22 +09:30
Paul Gardner-Stephen 9eb16b5795 make cursor flash when navigating again 2019-04-25 20:37:10 +09:30
Paul Gardner-Stephen 25233bdd74 fix cursor pooh problems when moving cursor 2019-04-25 20:34:52 +09:30
Paul Gardner-Stephen 59a5145a09 implement more of word packer routine 2019-04-25 18:04:08 +09:30
Paul Gardner-Stephen 0995ccc976 begin implementing word compression routine for tokeniser 2019-04-25 17:32:05 +09:30
Paul Gardner-Stephen b9e3bc8f44 adjust debug output to show when compression is ineffective. 2019-04-25 16:53:50 +09:30
Paul Gardner-Stephen 50f6f0d123 fix text compression and decompression routines. 2019-04-25 16:45:39 +09:30
Paul Gardner-Stephen 0050fe03c9 work on fixing support for improved text compression routine. 2019-04-25 13:15:34 +09:30
Paul Gardner-Stephen ce83d63a84 optimise text packer a bit 2019-04-25 11:48:16 +09:30
Paul Gardner-Stephen 2b8a72a983 refactor text compression routines 2019-04-25 11:37:06 +09:30
Paul Gardner-Stephen b44a7d527f add BASIC keyword list and justifications why it cannot be copyright protected. 2019-04-25 07:14:16 +09:30
Paul Gardner-Stephen 8b800cde58 add target for testing on MEGA65 hardware 2019-04-24 22:11:07 +09:30
Paul Gardner-Stephen 084c049c24 add commentary about interface furniture. 2019-04-24 22:09:37 +09:30
Paul Gardner-Stephen 68e8bbe9cb add references to examples of every single error message or related item that the C64 BASIC displays 2019-04-24 22:09:11 +09:30
Paul Gardner-Stephen 3e7258f391 rename text compressor 2019-04-24 21:25:53 +09:30
Paul Gardner-Stephen 9a0191d1e6 support packed word tables > $FF bytes long 2019-04-24 21:25:22 +09:30
Paul Gardner-Stephen 4bca352653 fix hiding and showing of cursor bugs. Issue #7 2019-04-24 20:36:59 +09:30
Paul Gardner-Stephen b80f6ad744 reverse error introduced earlier 2019-04-24 20:17:51 +09:30
Paul Gardner-Stephen 86ea5fba39 address all detected similarities to C64 BASIC ROM. 2019-04-24 19:56:17 +09:30
Paul Gardner-Stephen dfd64a706f add explanations for some strings that match BASIC rom 2019-04-24 18:02:24 +09:30
Paul Gardner-Stephen e7b1b22eb0 deal with remaining similar strings 2019-04-24 17:32:35 +09:30
Paul Gardner-Stephen 2a21f4d367 explain many more sequences of bytes 2019-04-24 17:17:40 +09:30
Paul Gardner-Stephen 8f9ce4bbba deal with more similar strings 2019-04-24 16:24:05 +09:30
Paul Gardner-Stephen 7448909da8 more documentation of similarities and avoiding them where practicable. 2019-04-24 16:13:24 +09:30
Paul Gardner-Stephen 035b386f6c and more... 2019-04-24 15:53:32 +09:30
Paul Gardner-Stephen ca61d576de document more similar strings 2019-04-24 15:38:34 +09:30
Paul Gardner-Stephen fdcc5a1184 more work on documenting remaining similarities 2019-04-24 15:33:54 +09:30
Paul Gardner-Stephen ddbb673682 more work on reducing residual similarity with C64 KERNAL 2019-04-24 15:31:36 +09:30
Paul Gardner-Stephen 18b862cce5 more work on documenting residual similarities with C64 KERNAL 2019-04-24 15:15:03 +09:30
Paul Gardner-Stephen af67f17da1 reduce avoidable byte similarities with C64 KERNAL 2019-04-24 14:57:15 +09:30
Paul Gardner-Stephen bf2cd05df3 exclude more branches 2019-04-24 14:57:07 +09:30
Paul Gardner-Stephen d137d38c45 add command line option to control whether to show explained sequences or not. 2019-04-24 14:35:04 +09:30
Paul Gardner-Stephen 27e6f92b39 fix bug in MEMTOP routine. Reorder instructions to reduce byte-level similarity with C64 KERNAL, even though it should be totally fine. 2019-04-24 14:24:12 +09:30
Paul Gardner-Stephen a311c08289 reduce byte-wise similarity with KERNAL through use of X instead of A 2019-04-24 14:14:40 +09:30
Paul Gardner-Stephen f5c5f787a4 convert several key values to hex 2019-04-24 14:14:30 +09:30
Paul Gardner-Stephen f98cc84d82 add target for running similarity test on KERNAL 2019-04-24 14:14:11 +09:30
Paul Gardner-Stephen df0b10e37c add another string 2019-04-24 13:48:44 +09:30
Paul Gardner-Stephen e1612b5b19 add more explanation of our approach 2019-04-24 13:48:25 +09:30
Paul Gardner-Stephen d422d45105 ignore 3 byte sequences ending in a branch 2019-04-24 13:44:11 +09:30
Paul Gardner-Stephen cbd58d62f1 add more explations of matching strings 2019-04-24 13:42:26 +09:30
Paul Gardner-Stephen cda32d3cb3 tweak rejection of common 3 byte sequences 2019-04-24 13:42:15 +09:30