Commit Graph
3401 Commits
Author SHA1 Message Date
Irmen de Jong 224b7318ab amiga; tweak blitter helpers, enhanced bmx.py conversion script added 2026-11-10 04:22:55 +01:00
Irmen de Jong f5981a9817 enable %option verafxmuls on C64 + Vera64X 2026-11-09 20:30:48 +01:00
Irmen de Jong c8e251c8f4 added c64 vera_text library and vera balloonflight example 2026-11-09 03:18:20 +01:00
Irmen de Jong f4b9c5c672 added c64 kefrenbars vera example 2026-11-09 00:43:37 +01:00
Irmen de Jong 66eed7fbe1 added c64 vera-bobs example 2026-11-09 00:06:11 +01:00
Irmen de Jong 733213be40 Add C64 Vera64X PSG support 2026-11-08 22:55:11 +01:00
Irmen de Jong 867a2f76c6 fix wrong undefined symbol error 2026-11-08 19:26:00 +01:00
Irmen de Jong 0e40492347 amiga: add agabobs example 2026-11-08 16:42:47 +01:00
Irmen de Jong 86da9d910c update docs 2026-11-08 13:28:49 +01:00
Irmen de Jong 216d01b0f0 Fix Amiga blitter polygon fill parity 2026-11-08 03:18:15 +01:00
Irmen de Jong 2cac146548 Fix M68K callee-save tracking for fixed-register calls 2026-11-07 20:21:15 +01:00
Irmen de Jong 9fa1195ab5 trying to fix the blitter area_fill 2026-11-07 19:55:51 +01:00
Irmen de Jong 496f68fad1 amiga: add penrose triangle (blitted version) 2026-11-07 16:58:31 +01:00
Irmen de Jong 4772644056 Address codegen bug review findings
Fixes:
- M68K optimizer: prove index-register liveness before deleting scale
  instructions in optimizeIndexedPointerLea.
- M68K optimizer: reject staged-add pair fold when the staged register is
  also the add destination.
- M68K optimizer: prove removed flag-setting moves are dead before folding
  staged adds or replacing pushes with pea.
- M68K optimizer: only treat full .l writes as redefinitions in the deadness
  proof; byte/word partial writes keep the staged value live.
- M68K optimizer: treat add/sub/addq/subq to address registers as flag-
  preserving (ADDA/SUBA semantics).
- M68K FPO: reject subroutines whose inline assembly mentions A5 (reads as
  well as writes) and subroutines containing PUSH/POP/PUSHST/POPST.
- ADPCM wavc example: stop byte-swapping already-native m68k decoder output;
  add deinterleave_16bit_stereo_be helper.
- M68K/new6502 backends and IR codec: preserve ImmediateOperand.SymbolAddress
  offsets instead of dropping them; fix codec round-trip with type suffix.
- Clean up M68kMnemonics allFlagOverwriters classification for address-register
  arithmetic.
- Remove unnecessary d1-d2 register saves in deinterleave_16bit_stereo_be.
2026-11-07 14:30:37 +01:00
Irmen de Jong e88bb6bc2e m68k: fix deadness proof and finish branch-chain retargeting 2026-11-07 13:30:33 +01:00
Irmen de Jong 8d977da044 m68k: fold pointer-indexed addressing into indexed lea 2026-11-07 12:46:08 +01:00
Irmen de Jong 79c3629766 added amiga sorting routines and fixed symboldump wrapper names 2026-11-06 18:19:59 +01:00
Irmen de Jong cdb01ae04b new6502: eliminate dead extends before left shifts 2026-11-06 04:03:01 +01:00
Irmen de Jong 326d21ed9e m68k: emit moveq+move.b for zero-extends, 2026-11-06 03:17:27 +01:00
Irmen de Jong 840f98d45c amiga: add wavfile PCM converter helpers and extend wavc 2026-11-06 03:05:11 +01:00
Irmen de Jong 82c90b5597 amiga: sound freq doc updats 2026-11-06 01:34:58 +01:00
Irmen de Jong a4b59f6b30 amiga: fix easygfx/graphics.library fill outlines 2026-11-06 00:57:12 +01:00
Irmen de Jong 812b58d9d2 better amiga joystick button routines 2026-11-05 18:38:47 +01:00
Irmen de Jong 9903391d8f doc updates 2026-11-05 10:27:47 +01:00
Irmen de Jong abbf471bce allow for loop iteration over str-parameter akak ^^ubyte pointer 2026-11-05 06:34:42 +01:00
Irmen de Jong 33eb704b83 amiga: added bare-metal 'text' library 2026-11-05 06:28:28 +01:00
Irmen de Jong c1bedc6176 m68k: faster codegen, faster horizontal blitter lines, added math.mul32 2026-11-05 04:48:48 +01:00
Irmen de Jong 9553d91990 various things 2026-11-04 22:32:43 +01:00
Irmen de Jong dfdaadfc01 m68k: rewrite cmp #0,d0 into tst d0 2026-11-04 01:24:25 +01:00
Irmen de Jong 2508b0a9f4 if-expressions are now const folded too
fix invalid a0 instruction
2026-11-03 20:17:52 +01:00
Irmen de Jong 5f3239d811 default no longer include all IR debug lines into the m68k asm file 2026-11-03 15:30:30 +01:00
Irmen de Jong 1e19fd212a m68k: moveq for zeroing data regs, move instead of clr on IO addresses because of dummy read 2026-11-03 15:12:28 +01:00
Irmen de Jong 2a43ee7366 amiga bare metal updates 2026-11-03 05:05:11 +01:00
Irmen de Jong c530aaf32f amiga copper, playfield helper libraries and palette helper routines in custom 2026-11-01 22:15:28 +01:00
Irmen de Jong d2c7ad1e15 Allow %asminclude in asmsub bodies
Like %asm and %asmbinary, an assembly include is now accepted in an
asmsub body and lowered in source order. The return checks expand
includes before scanning, so an rts inside the included file counts
toward the return requirement. Docs updated.
2026-11-01 17:17:37 +01:00
Irmen de Jong 0a53343694 give a warning when only an asmbinary blob is loaded inside an asmsub 2026-11-01 16:15:07 +01:00
Irmen de Jong 361cd58131 add verafx line batch routines 2026-11-01 13:59:43 +01:00
Irmen de Jong 219545d9fc amiga display calc 2026-11-01 05:12:01 +01:00
Irmen de Jong 253a7537c4 fix str versus numeric comparison compiler crash 2026-11-01 02:02:58 +01:00
Irmen de Jong 6aa8ec5806 added amiga custom.compute_display 2026-11-01 01:36:25 +01:00
Irmen de Jong a866be44e3 added amiga datatype.library + example 2026-11-01 00:44:39 +01:00
Irmen de Jong fe684f7137 added amiga asl.library (file requesters mainly) 2026-10-31 19:30:07 +01:00
Irmen de Jong c72934b9df added amiga custom.detect_chipset() 2026-10-31 02:19:18 +01:00
Irmen de Jong 1afa823f15 added amiga hardware joystick and mouse routines to custom 2026-10-31 00:37:43 +01:00
Irmen de Jong 58be7c0bea amiga sound module tweaks 2026-10-30 22:04:34 +01:00
Irmen de Jong 4c93abd635 defaultZero now produces a pointer-width zero for pointer types 2026-10-30 20:09:00 +01:00
Irmen de Jong ee40de5f65 fix error about missing return statement in final 'when'
behavior change when it falls through at the end of a subroutine: returns 0
2026-10-30 19:19:48 +01:00
Irmen de Jong eae012fd82 fix compiler crash on field write to a memory-mapped array of struct instances 2026-10-29 21:45:58 +01:00
Irmen de Jong 53ad0a1f5f adding amiga sound library module 2026-10-29 04:57:30 +01:00
Irmen de Jong 0d9b306251 amiga copper library module removed (it was incomplete and not very useful) 2026-10-28 22:58:31 +01:00