Commit graph

75 commits

Author SHA1 Message Date
Marcus Dicander
594218d485 Added Marcus first effect, with help from Duuqnd and hugova 2025-04-03 23:22:57 +02:00
hugova
f93557bfd9 Made math befor line-draw-loop faster. from 811183 cpu cykles to 809951 2025-04-03 16:58:55 +02:00
hugova
589fd5d738 push changes from line_down to line_up_inv line_down_inv 2025-04-03 16:17:30 +02:00
hugova
18c08d6b2b Pushed performance improvement from line_down to line_up 2025-04-03 00:41:21 +02:00
hugova
adef2c0f56 Make line draw faster 2025-04-03 00:21:01 +02:00
hugova
0fd76b862a Clear screen grafic the correct way 2025-04-03 00:18:09 +02:00
hugova
c288254f1f Change scope and add init files 2025-03-31 00:10:51 +02:00
hugova
682a0f2fb9 Push performance improvement from line_down.s to line_up.s 2025-03-30 17:25:23 +02:00
hugova
9768287b86 Change macro here 2025-03-30 16:16:47 +02:00
hugova
1144fd01ca Rewrite macros to be more flexible 2025-03-30 16:15:07 +02:00
hugova
abcac12471 Add test for memcpy 2025-03-30 16:14:41 +02:00
hugova
c0446ba5e2 Push performance improvements from line_down.s to line_*.s 2025-03-29 22:07:33 +01:00
hugova
96d9bc4440 Improve performance of line_down from 837970 to 835768 (cpu cyceles of a test) 2025-03-29 21:50:25 +01:00
hugova
963cc1b258 Improve performance of line-up.s in test cpu cykels got from 840893 to 840595 2025-03-29 21:00:31 +01:00
hugova
147ceb73f2 Fix first pixel of, in all line_* 2025-03-29 19:47:39 +01:00
hugova
d9fe32e8f3 Push performance improvments from line_down.s to line*.s 2025-03-29 18:23:03 +01:00
hugova
08daa79e6a Improve line_down from 839904 to 837970 cykles in line_test_time 2025-03-29 18:09:58 +01:00
hugova
46a52661b8 Propergate optimisations from line_down.s to the other line_*.s files 2025-03-29 16:16:47 +01:00
hugova
be3e9582ba Let char_draw write with x and y pos 2025-03-29 15:24:21 +01:00
hugova
4f585183ce Rename text.s to char_draw for more consistent naming 2025-03-29 14:27:26 +01:00
hugova
6d859fba36 Make text faster 2025-03-29 14:25:17 +01:00
hugova
3dfbe05938 Spell macro Mult_16 with a upper character 2025-03-29 14:21:12 +01:00
hugova
1d4efe6725 Partialy implement text writing 2025-03-28 20:35:58 +01:00
hugova
eb7b195cd2 Make STARTUP disable interupt 2025-03-28 17:45:31 +01:00
hugova
99a1f25c15 Disable CHAREN so cpu can get petscii 2025-03-28 16:51:31 +01:00
hugova
c206f7205a Fix typo 2025-03-28 13:50:54 +01:00
hugova
0adbbaf12c Add memcpy and code skeleton for text.s 2025-03-28 12:05:11 +01:00
6f0b19720d Add method for compiling nodes following the NEXT chain 2025-03-28 11:47:27 +01:00
dc80e6e1e3 Nicer printing of nodes and references
References print shorter and show their contents, call nodes now show
what they're calling and with what arguments. Additionally, generated
code for a node starts with a comment of the node as printed.
2025-03-28 11:46:03 +01:00
dd32f294d0 Correct typo in NODE-DOTIMES definition 2025-03-27 23:39:09 +01:00
4918124361 Clarify comments in GENERATE-CODE for NODE-BRANCH 2025-03-27 23:36:15 +01:00
39cf0b54cb Use real tabs in FORMAT-INST 2025-03-27 23:02:43 +01:00
b22f043523 Proof of concept compiler
Compiles hand-created nodes for subroutine calls, forward branching,
and fixed-length looping into textual 6502 assembly code. Currently
only outputs this code to standard output for inspection.
2025-03-27 22:40:56 +01:00
hugova
b3887a8e0d Rename memory operation and create files for later text drawing stuff 2025-03-27 21:12:40 +01:00
46409e5eff Add *.lst to .gitignore 2025-03-27 19:48:50 +01:00
Marcus Dicander
b0dc88a2e5 Fixed a few spelling errors. 2025-03-27 19:43:29 +01:00
hugova
801cd55541 Improved performance of line_down.s before loop. 2025-03-26 22:00:09 +01:00
hugova
89c9bc4129 Add self modifying code to draw_line for 2% performance improvments 2025-03-26 12:14:55 +01:00
hugova
ff64a9a9b0 Add missing performance improvments to line_* from line_down.s 2025-03-25 23:28:53 +01:00
hugova
20b24a299a Clean up memory_rec.s 2025-03-25 21:59:44 +01:00
hugova
41b8fec7a8 Performance improved mult_16 without changing behaviour 2025-03-25 21:40:40 +01:00
hugova
7a5585d2c4 Add better code coments 2025-03-25 21:21:39 +01:00
hugova
842033a014 Add performance optimisiation for line_up_inv.s 2025-03-25 19:46:03 +01:00
hugova
d5c15bd0c2 Code cleanup 2025-03-25 19:38:51 +01:00
hugova
0df0e666ad Implement earlier perfromance improvments to line_up.s 2025-03-25 19:32:51 +01:00
hugova
4497026d95 Rewrite start condition of line_down so that it start on exaktly the right pixel 2025-03-25 19:20:23 +01:00
hugova
f185c80a16 Add code skeleton for the binary-tree-api:s unittest 2025-03-24 20:16:52 +01:00
hugova
05b0ff9762 Add performance improvments to line_down_inv.s 2025-03-24 19:55:00 +01:00
hugova
9b8e3fe33f Removed 1 instruction from draw_line_down.s 6% performance boost 2025-03-24 18:25:42 +01:00
hugova
3ce76c02a8 Rewrote 4 branch instructions to 2. 2% performance increase 2025-03-24 18:00:17 +01:00