Commit Graph
2469 Commits
Author SHA1 Message Date
Irmen de Jong c7e25e323a some script fixes and izx0 image format 2026-08-09 12:26:59 +02:00
Irmen de Jong e0329e4457 added amiga iff load example 2026-08-08 22:13:53 +02:00
Irmen de Jong a3161fa117 implemented endian-aware msb/lsb handling 2026-08-08 19:34:12 +02:00
Irmen de Jong 9c8e81b566 IR: fix m68k indexing datatype size 2026-08-08 18:14:30 +02:00
Irmen de Jong b3b983c7ec fix untyped pointer indexing on 32 bits targets (long vs uword) 2026-08-08 16:01:28 +02:00
Irmen de Jong c6e9a45293 fix m68k floating point code generation (68020 + FPU required) 2026-08-07 22:40:44 +02:00
Irmen de Jong c1f76cf073 m68k: prog8 doesn't have to do BSS clearing itself, the exe loaders already do this for us automatically 2026-08-07 19:07:40 +02:00
Irmen de Jong c916570abd m68k now has long mul and div on 68000, uses utility.library on amiga if available 2026-08-07 12:32:47 +02:00
Irmen de Jong bdab975d14 fix amiga library pointer params 2026-08-07 11:28:29 +02:00
Irmen de Jong a5978a913b m68k: added coroutines module 2026-08-06 22:08:59 +02:00
Irmen de Jong e5f488dcfb new6502: fix align and 0-assign into array 2026-08-06 20:13:42 +02:00
Irmen de Jong e5d9609db1 IR: added new multi-bit shifting opcodes 2026-08-05 01:42:49 +02:00
Irmen de Jong 051f3809cd IR: improved add/sub of small const values 2026-08-05 00:10:09 +02:00
Irmen de Jong c2a942dd45 fix jump table on m68k 2026-08-04 21:43:39 +02:00
Irmen de Jong 27aeafef0d more ast optimization gatings for m68k 2026-08-04 13:58:03 +02:00
Irmen de Jong 97e5a6f7bb amiga500 textio: use dos VPrintf instead of separate conv calls 2026-08-04 04:50:01 +02:00
Irmen de Jong 79c05ae396 m68k: fix divs sign extension bug 2026-08-04 03:05:13 +02:00
Irmen de Jong f25ea95bdf m68k: fix extb.l on 68000, checks for long division/multiplication on 68000 2026-08-04 01:51:14 +02:00
Irmen de Jong d144235dc9 Merge branch 'master' into new-codegens 2026-08-03 14:35:47 +02:00
Irmen de Jong b0e0058310 split huge test file 2026-08-03 14:23:21 +02:00
Irmen de Jong 4682462c19 added utility.library 2026-08-03 04:16:10 +02:00
Irmen de Jong b6e503a67b fix amiga textio and m68k alignment issues 2026-08-03 02:33:19 +02:00
Irmen de Jong 092116de1d custom grab_system() and return_system() added for demo/game hardware banging programs
added amigarasters example
2026-07-16 23:04:14 +02:00
Irmen de Jong b0cf649c2d register packer does't work well 2026-07-16 20:33:27 +02:00
Irmen de Jong ead1e5e879 make exit() work on m68k 2026-07-15 00:18:40 +02:00
Irmen de Jong 4c1f193d53 amiga custom chip registers 2026-07-14 22:20:12 +02:00
Irmen de Jong 7565d04cf5 fix missing constants in amiga lib dumps 2026-07-14 07:27:15 +02:00
Irmen de Jong e645b0abe1 add pokep() and peekp() builtin functions 2026-07-12 12:54:29 +02:00
Irmen de Jong 0cf488b586 fix some array issues 2026-07-11 23:01:23 +02:00
Irmen de Jong 9587e1b724 Merge branch 'master' into new-codegens 2026-07-11 22:17:25 +02:00
Irmen de Jong e5865a1446 fix delete root node bug in binarytree.p8 2026-07-11 22:16:51 +02:00
Irmen de Jong 0e978b250b added 'pointer' as type alias for uword or long depending on the compilation target's pointer size 2026-07-11 16:59:24 +02:00
Irmen de Jong 67e6888009 fix ast check for m68k to also consider library files, align code on even addresses, start implementing syscalls 2026-07-11 14:59:46 +02:00
Irmen de Jong 5cc3623a2a m68 adding input routine, fix linkerscript, qemu bootinfo 2026-07-11 12:41:35 +02:00
Irmen de Jong d08f532a10 m68k float support 2026-07-11 02:39:14 +02:00
Irmen de Jong 3078f402bb fix uword literal assignment to pointer on m68k 2026-07-10 22:35:07 +02:00
Irmen de Jong e7dbab1822 fix defer on m68k by making mask variable a word so correct memory LSR instruction can be used 2026-07-10 17:40:47 +02:00
Irmen de Jong cf6efd76f0 making sure memory() is long on m68k 2026-07-10 04:51:54 +02:00
Irmen de Jong cb240f6a4b Merge branch 'master' into new-codegens 2026-07-08 21:02:17 +02:00
Irmen de Jong 968d9819db removed -nostdlib option 2026-07-07 23:31:20 +02:00
Irmen de Jong 54df69a2b3 allow array args for pointer params in m68k 2026-07-07 22:14:38 +02:00
Irmen de Jong 88b3291785 added ELF/RAW output type selection for m68k, fix div garbage register data 2026-07-07 21:49:45 +02:00
Irmen de Jong c9c68f7d8c clean up some pointer type stuff in m68k 2026-07-07 20:36:00 +02:00
Irmen de Jong 1f4ffdffc1 fix IR constant prefixing/no prefixing 2026-07-07 01:45:55 +02:00
Irmen de Jong 1053a9a761 Merge branch 'master' into new-codegens 2026-07-07 01:00:13 +02:00
Irmen de Jong 7f51bbd777 working on encoding support for variable sized pointers in the IR 2026-07-07 00:06:28 +02:00
Irmen de Jong 5c36e21948 working on fixing pointer arithmethic
but see transformWithPointerArithmetic() still unfinished
2026-07-06 02:20:32 +02:00
Irmen de Jong 2a8b24074b remove error about memory mapped pointers 2026-07-05 00:53:13 +02:00
Irmen de Jong 9d1bcfc0c6 remove codegenExperimental module 2026-07-02 00:54:11 +02:00
Irmen de Jong 15756a8977 rename -expericodegen into -newcodegen that should switch all existing 6502 codegens to using the new one based on IR 2026-07-02 00:51:45 +02:00