Commit graph

  • 594218d485 Added Marcus first effect, with help from Duuqnd and hugova main Marcus Dicander 2025-04-03 23:22:57 +02:00
  • f93557bfd9 Made math befor line-draw-loop faster. from 811183 cpu cykles to 809951 hugova 2025-04-03 16:58:55 +02:00
  • 589fd5d738 push changes from line_down to line_up_inv line_down_inv hugova 2025-04-03 16:17:30 +02:00
  • 18c08d6b2b Pushed performance improvement from line_down to line_up hugova 2025-04-03 00:41:21 +02:00
  • 27b62faad1 Notes added by 'git notes add' hugova 2025-04-03 00:22:45 +02:00
  • adef2c0f56 Make line draw faster hugova 2025-04-03 00:21:01 +02:00
  • 0fd76b862a Clear screen grafic the correct way hugova 2025-04-03 00:18:09 +02:00
  • c288254f1f Change scope and add init files hugova 2025-03-31 00:10:51 +02:00
  • 682a0f2fb9 Push performance improvement from line_down.s to line_up.s hugova 2025-03-30 17:25:23 +02:00
  • 9768287b86 Change macro here hugova 2025-03-30 16:16:47 +02:00
  • 1144fd01ca Rewrite macros to be more flexible hugova 2025-03-30 16:15:07 +02:00
  • abcac12471 Add test for memcpy hugova 2025-03-30 16:14:41 +02:00
  • c0446ba5e2 Push performance improvements from line_down.s to line_*.s hugova 2025-03-29 22:07:33 +01:00
  • 96d9bc4440 Improve performance of line_down from 837970 to 835768 (cpu cyceles of a test) hugova 2025-03-29 21:50:25 +01:00
  • 963cc1b258 Improve performance of line-up.s in test cpu cykels got from 840893 to 840595 hugova 2025-03-29 21:00:31 +01:00
  • 147ceb73f2 Fix first pixel of, in all line_* hugova 2025-03-29 19:47:39 +01:00
  • d9fe32e8f3 Push performance improvments from line_down.s to line*.s hugova 2025-03-29 18:23:03 +01:00
  • 08daa79e6a Improve line_down from 839904 to 837970 cykles in line_test_time hugova 2025-03-29 18:09:58 +01:00
  • 46a52661b8 Propergate optimisations from line_down.s to the other line_*.s files hugova 2025-03-29 16:16:47 +01:00
  • be3e9582ba Let char_draw write with x and y pos hugova 2025-03-29 15:24:21 +01:00
  • 4f585183ce Rename text.s to char_draw for more consistent naming hugova 2025-03-29 14:27:26 +01:00
  • 6d859fba36 Make text faster hugova 2025-03-29 14:24:46 +01:00
  • 3dfbe05938 Spell macro Mult_16 with a upper character hugova 2025-03-29 14:21:12 +01:00
  • 1d4efe6725 Partialy implement text writing hugova 2025-03-28 20:35:58 +01:00
  • eb7b195cd2 Make STARTUP disable interupt hugova 2025-03-28 17:45:31 +01:00
  • 99a1f25c15 Disable CHAREN so cpu can get petscii hugova 2025-03-28 16:51:31 +01:00
  • c206f7205a Fix typo hugova 2025-03-28 13:50:54 +01:00
  • 0adbbaf12c Add memcpy and code skeleton for text.s hugova 2025-03-28 12:04:53 +01:00
  • 6f0b19720d Add method for compiling nodes following the NEXT chain John Lorentzson 2025-03-28 11:47:27 +01:00
  • dc80e6e1e3 Nicer printing of nodes and references John Lorentzson 2025-03-28 11:46:03 +01:00
  • dd32f294d0 Correct typo in NODE-DOTIMES definition John Lorentzson 2025-03-27 23:39:09 +01:00
  • 4918124361 Clarify comments in GENERATE-CODE for NODE-BRANCH John Lorentzson 2025-03-27 23:36:15 +01:00
  • 39cf0b54cb Use real tabs in FORMAT-INST John Lorentzson 2025-03-27 23:02:43 +01:00
  • b22f043523 Proof of concept compiler John Lorentzson 2025-03-27 22:39:18 +01:00
  • b3887a8e0d Rename memory operation and create files for later text drawing stuff hugova 2025-03-27 21:11:30 +01:00
  • 46409e5eff Add *.lst to .gitignore John Lorentzson 2025-03-27 19:48:29 +01:00
  • b0dc88a2e5 Fixed a few spelling errors. Marcus Dicander 2025-03-27 19:43:29 +01:00
  • 801cd55541 Improved performance of line_down.s before loop. hugova 2025-03-26 22:00:09 +01:00
  • 89c9bc4129 Add self modifying code to draw_line for 2% performance improvments hugova 2025-03-26 12:14:55 +01:00
  • ff64a9a9b0 Add missing performance improvments to line_* from line_down.s hugova 2025-03-25 23:28:53 +01:00
  • 20b24a299a Clean up memory_rec.s hugova 2025-03-25 21:59:44 +01:00
  • 41b8fec7a8 Performance improved mult_16 without changing behaviour hugova 2025-03-25 21:40:40 +01:00
  • 7a5585d2c4 Add better code coments hugova 2025-03-25 21:21:39 +01:00
  • 842033a014 Add performance optimisiation for line_up_inv.s hugova 2025-03-25 19:46:03 +01:00
  • d5c15bd0c2 Code cleanup hugova 2025-03-25 19:38:51 +01:00
  • 0df0e666ad Implement earlier perfromance improvments to line_up.s hugova 2025-03-25 19:32:51 +01:00
  • 4497026d95 Rewrite start condition of line_down so that it start on exaktly the right pixel hugova 2025-03-25 19:20:23 +01:00
  • f185c80a16 Add code skeleton for the binary-tree-api:s unittest hugova 2025-03-24 20:16:52 +01:00
  • 05b0ff9762 Add performance improvments to line_down_inv.s hugova 2025-03-24 19:54:31 +01:00
  • 9b8e3fe33f Removed 1 instruction from draw_line_down.s 6% performance boost hugova 2025-03-24 18:25:42 +01:00
  • 3ce76c02a8 Rewrote 4 branch instructions to 2. 2% performance increase hugova 2025-03-24 18:00:17 +01:00
  • f583423bb6 Switched CLC ROR to LSR. 2% performance improvment hugova 2025-03-24 17:45:22 +01:00
  • ed0966c736 Merge branch 'main' of git.stacken.kth.se:Stacken/c64-livecoding hugova 2025-03-24 17:19:53 +01:00
  • bc59ac63b1 Fix performance by using pointer tricks for ADD. 10% faster line drawing hugova 2025-03-24 17:07:14 +01:00
  • 47d53ecf78 Fix performance by using pointer tricks for ADD. 20% faster line drawing hugova 2025-03-24 17:07:14 +01:00
  • de2d597612 Change of starting condition for potential testing purposes of another person hugova 2025-03-09 23:53:33 +01:00
  • a617d91183 Change 4 spaces indenting to 8 and add string for emacs to understand indenting rules hugova 2025-03-09 23:43:59 +01:00
  • 36610e7df8 Made shure that run.sh also create a listing file for debuging and stuff hugova 2025-03-09 20:57:46 +01:00
  • 09b8a33e09 Adding of 16-bit arithmatic macro variants for X and A as input hugova 2025-03-07 00:48:13 +01:00
  • 0797e69106 Add all optimisations done on line_down to line_down_inv. DIx a problem that the pixel was drawin a bit to late in the loop on line_down. hugova 2025-03-06 01:50:37 +01:00
  • ecc138f2bc Redused number of instructions but to small a diffrence to messure with current test hugova 2025-03-06 00:59:29 +01:00
  • 9694d8d55b Redused paint_pixel to 1 call in draw line hugova 2025-03-05 22:42:00 +01:00
  • 76f29f6b81 Performance improvment in test by 0.1s. Mady by better arithmatic for *40 in draw_pixel and fast_unsafe parameter for most macros hugova 2025-03-05 21:02:54 +01:00
  • 982b6c7ea6 A fix for the timer to work by making it start with value 1. It do not increment from 0! hugova 2025-03-05 01:27:37 +01:00
  • 89c2b42bfe Reorginisation of line-drawing code. Also added a macro to benchmark line drawing logic. Addition of line_test_time to benchmark line drawing time (Do not work yet) hugova 2025-03-04 23:01:57 +01:00
  • 494e9dc5f9 A fix of line_up_inv such that X_pos < X_end like all other line_* implementations. hugova 2025-03-04 21:00:21 +01:00
  • 4d12f20a6e A Fix for D that gets the wrong initial value and the branch logic in line_* checked for the wrong value. A new proc, line.s that can chose whitch line_* to use A small test program in source.s Wrote a smal test program in source.s (all looks good exept line_up_inv) hugova 2025-03-03 22:08:00 +01:00
  • 1524c837ca A optimisation of line_up_inv.s by moving some logic out of loop hugova 2025-03-02 23:14:51 +01:00
  • f3712eca9f Move logic outside loop for performance reasons. Same as earlier commit but for line_down_inv.s, line_up.s Comment: Should do the same for line_up_inv.s hugova 2025-03-02 18:29:58 +01:00
  • ee69828ec7 Optimisation by moving logic out of loop for faster execution. This should be implemented on the other line_* files hugova 2025-03-02 18:05:20 +01:00
  • 0940d9f9f9 1. A fix for a bug where D gets the wrong initial value (2 bytes where flipped) 2. Implemented line drawing for the other 3 cases hugova 2025-03-02 16:51:55 +01:00
  • 4f396fd740 A fix to a bug, to make line_down draw lines with small slopes. I needed to use 16bit logic to ashive this. Also moved out dx*2, dy*2 calculation outside of loop for better performance. hugova 2025-03-01 23:57:15 +01:00
  • 9c86b570ed Will make the indenting better. Also it will properly use dubble ; for comment blocks hugova 2025-02-28 18:22:07 +01:00
  • 864b0e659b Add hugo code hugova 2025-02-27 22:04:43 +01:00
  • 7fc374246a Add .gitignore John Lorentzson 2025-02-27 22:02:22 +01:00
  • 1b0eda3c8c Initial commit John Lorentzson 2025-02-27 21:57:44 +01:00