Commit graph

  • 65905fa7e7 optimise pixel draw using lookup table hugova 2025-05-12 01:44:00 +02:00
  • 2bab2a6c8a change naming convention for one variable hugova 2025-05-11 22:32:36 +02:00
  • c2e89a5487 make char.s use ARGVEC hugova 2025-05-11 22:23:08 +02:00
  • c2a4ff416d fix comment and fix syntax hugova 2025-05-11 20:45:11 +02:00
  • 017a337180 make pixel drawing faster using lookup table hugova 2025-05-11 20:00:48 +02:00
  • e89d566fbb make .build executable hugova 2025-05-11 19:59:47 +02:00
  • df5130df2e comment out buggy code in source.s hugova 2025-05-08 23:06:32 +02:00
  • 83793035ad add use of ARGVEC see public.inc hugova 2025-05-08 23:04:50 +02:00
  • 9b5fd7d6e5 limit pixel_draw to only write pixel with 0 - 255 x_pos hugova 2025-05-08 22:35:25 +02:00
  • c336e43c19 Add bytesquashing (turning instructions etc. into dead bytes) John Lorentzson 2025-05-08 22:18:25 +02:00
  • 010cc5dd87 Make FIX-LABEL-ADDRESSES-IN-INSTRUCTION-LIST add PROGRAM_END label John Lorentzson 2025-05-08 22:17:36 +02:00
  • 9d2d0dea6b Fix instruction redefinition and add some opcodes John Lorentzson 2025-05-08 22:09:11 +02:00
  • 184d0324c0 Fix broken INSTRUCTION-LENGTH John Lorentzson 2025-05-08 22:06:21 +02:00
  • 31bb5f8509 Add offset label class John Lorentzson 2025-05-08 22:05:48 +02:00
  • 15a70836ac Add temporary ARGVEC and VARVEC definitions John Lorentzson 2025-05-08 22:04:34 +02:00
  • 4a4a7b8485 Add LABELP predicate John Lorentzson 2025-05-08 21:54:52 +02:00
  • 379d33d5a1 Move label name + prefix warning to the right place John Lorentzson 2025-05-08 21:54:36 +02:00
  • eec5edc715 Correct instruction length of immediates John Lorentzson 2025-05-08 21:20:50 +02:00
  • 032cbea0ab create build file and remove enviroment specific file hugova 2025-05-08 21:46:02 +02:00
  • 3e063e9aaf move pixel-draw code hugova 2025-05-08 21:41:46 +02:00
  • d9673915a5 Add public.inc John Lorentzson 2025-05-08 21:17:09 +02:00
  • 8a45d4fca1 Revert "populate .inc file with parameters for compiler" John Lorentzson 2025-05-08 20:24:18 +02:00
  • 8d5cf37448 populate .inc file with parameters for homade compiler, will change format hugova 2025-05-08 20:16:06 +02:00
  • c8484975a8 move emacs uggly banner to the right place hugova 2025-05-08 20:15:13 +02:00
  • a553549b18 found place were old 16-bit zeropage format was used, fix that! hugova 2025-05-08 20:11:04 +02:00
  • 75bbe83a01 fix spelling hugova 2025-05-08 19:41:17 +02:00
  • 37b2864a7d Add function to compute addresses of labels in instruction list John Lorentzson 2025-05-08 19:36:10 +02:00
  • 501da2341e Bind *LABEL-COUNTER* to 0 at the start of compiling John Lorentzson 2025-05-08 19:33:31 +02:00
  • bcc039774b Move *LABEL-COUNTER* to label.lisp John Lorentzson 2025-05-08 19:33:13 +02:00
  • 5ca740efa9 Add PRODUCE-COMMENT John Lorentzson 2025-05-08 19:32:54 +02:00
  • 8dd78265b4 Nicer instruction printing John Lorentzson 2025-05-08 19:32:43 +02:00
  • 41bd413b4c Add LABEL class and replace uses of temporary strings with it John Lorentzson 2025-05-08 19:10:38 +02:00
  • 76f1fa0658 Add relative addressing type for branches John Lorentzson 2025-05-08 19:10:15 +02:00
  • 37241a1fc3 Replace the text assembly in high-level with instruction objects John Lorentzson 2025-05-08 17:11:57 +02:00
  • 0a3675feac Turn the user-side compiler into a proper ASDF system John Lorentzson 2025-05-03 12:22:56 +02:00
  • fd5a8fac4f Add check so zero-page instructions can't use too big operands John Lorentzson 2025-05-02 22:38:35 +02:00
  • 09d7701c15 add test program for char_draw hugova 2025-05-02 22:35:12 +02:00
  • 19b9feb02d Begin serious work on User-Side Compiler (USC) John Lorentzson 2025-05-02 22:26:08 +02:00
  • ddd2057ff4 add hinting for user side compiler hugova 2025-05-02 22:02:55 +02:00
  • 4c604c8a47 fix spelling hugova 2025-05-02 21:57:59 +02:00
  • cb23f4ec58 update gitignore hugova 2025-05-02 21:52:24 +02:00
  • 830c4d135d Add small minute changes hugova 2025-05-02 21:51:49 +02:00
  • a5044d6e4c Add code for not working scanline interupt (for future dubbel buffer) hugova 2025-05-02 20:46:27 +02:00
  • 1a8d4593ed Minimise performance issues of None Maskable Interupt hugova 2025-05-02 18:55:33 +02:00
  • 3bdf52d1a8 Add more variable for triangle_drawing hugova 2025-05-01 17:25:37 +02:00
  • 737ebbbe51 Add more skeleton code for future triangle drawing hugova 2025-05-01 16:17:42 +02:00
  • c27e79efa6 Add some code structure for future triangle rendering hugova 2025-04-28 16:01:06 +02:00
  • a7031b7418 Changed test to stop writing outside of the screen hugova 2025-04-28 14:14:06 +02:00
  • c5d14ae11e remove unessesary test. The buggertest may be used because line drawing is fast enough hugova 2025-04-28 14:10:28 +02:00
  • bfefcbff8f Changed 16-bit value syntax from using > and < in addresses to using +1. This was recomended by dicander and duunqnd because A =$ABAC looks like one address and not 2 zero-page addresses. hugova 2025-04-28 13:06:48 +02:00
  • 7f56f90613 Changed 16-bit value syntax from using > and < in addresses to using +1. This was recomended by dicander and duunqnd because A =$ABAC looks like one address and not 2 zero-page addresses. hugova 2025-04-28 12:56:52 +02:00
  • 594218d485 Added Marcus first effect, with help from Duuqnd and hugova 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