Irmen de Jong
|
552e55c29f
|
fix missing cmp #0 when asmsub call is part of a boolean expression
|
2025-06-02 19:22:00 +02:00 |
|
Irmen de Jong
|
a87f2640d3
|
fixed signed byte comparisons in case of overflowing values
|
2025-06-01 14:01:25 +02:00 |
|
Irmen de Jong
|
a90ef274d7
|
fix word*128 codegen.
added cx16/landscape.p8 example that draws procedurally generated landscapes.
found bug in signed byte comparisons with overflow.
|
2025-05-31 05:27:19 +02:00 |
|
Irmen de Jong
|
34bedbeef1
|
optimize byte modulus (%) routine with repeated subtraction instead of using full division
|
2025-05-29 13:26:04 +02:00 |
|
Irmen de Jong
|
3b1b0985c1
|
make sizeof(float) work, so you don't have to use sys.SIZEOF_FLOAT anymore etc.
define sys.SIZEOF_FLOAT in terms of sizeof(float)
|
2025-05-29 12:38:03 +02:00 |
|
Irmen de Jong
|
cc063124cf
|
add joystick control to cx16 fileselector.
fix fileselector Basic exasmple.
fixed too aggressive asm peephole optimization that destroyed %jumptable in libraries for example.
|
2025-05-23 17:50:11 +02:00 |
|
Irmen de Jong
|
3b37b89951
|
added cx16.joysticks_detect() and cx16.joysticks_getall()
|
2025-05-23 02:26:21 +02:00 |
|
Irmen de Jong
|
844b537d1e
|
cobramk3 example now draws with new monogfx doublebuffering
|
2025-05-22 23:29:49 +02:00 |
|
Irmen de Jong
|
caf1d4a22a
|
fix monogfx INVERT draw mode
|
2025-05-22 21:29:23 +02:00 |
|
Irmen de Jong
|
d8e244df99
|
fix monogfx example
|
2025-05-22 00:37:20 +02:00 |
|
Irmen de Jong
|
548e421e27
|
added doublebuffering to monogfx (in both lores and hires mode)
|
2025-05-22 00:10:03 +02:00 |
|
Irmen de Jong
|
25d7f8808f
|
IR: added signed multiplication opcodes
|
2025-05-20 21:36:05 +02:00 |
|
Irmen de Jong
|
acc630972a
|
make keyboardhandler example restartable
|
2025-05-15 23:07:54 +02:00 |
|
Irmen de Jong
|
6a33be3fd8
|
IR: allow returning boolean in Pc/Pv cpu status register (Pz and Pn are not yet possible)
|
2025-05-15 22:56:45 +02:00 |
|
Irmen de Jong
|
67231af623
|
fix forloop codegen over non-split word arrays of length >= 64 elements
|
2025-05-13 23:32:26 +02:00 |
|
Irmen de Jong
|
d8e2116481
|
different temp var mechanism for for loops, and pokef()
|
2025-05-13 21:06:33 +02:00 |
|
Irmen de Jong
|
435dfbb932
|
optimize: rewrite suitable when into on..goto
|
2025-05-13 01:12:58 +02:00 |
|
Irmen de Jong
|
ba93966474
|
optimize codegen: shortcut redundant jumps in when statement
|
2025-05-13 00:35:22 +02:00 |
|
Irmen de Jong
|
082265fb25
|
todo
|
2025-05-12 00:24:57 +02:00 |
|
Irmen de Jong
|
e5d9af75de
|
remove double bra/jmp
|
2025-05-11 23:01:13 +02:00 |
|
Irmen de Jong
|
31c1bf8bc5
|
added on..goto/call statement
|
2025-05-11 21:37:44 +02:00 |
|
Irmen de Jong
|
37d4055036
|
translate newline '\n' to char code 13 in various encodings such as ISO (used to be 10)
This means that when printed, such newlines will now properly go to the next line in these encodings too (ISO variants, KATAKANA).
|
2025-05-11 19:45:24 +02:00 |
|
Irmen de Jong
|
0a3c748e41
|
fix code gen bug for certain goto array[idx]
|
2025-05-11 17:18:20 +02:00 |
|
Irmen de Jong
|
99b9370178
|
fix various bugs around word-indexing combined with address-of: &buffer[2000]
|
2025-05-10 16:22:05 +02:00 |
|
Irmen de Jong
|
53e442d509
|
fix regression in 11.3.1: allow bitwise operation between different types as long as they're the same size.
|
2025-05-07 23:06:45 +02:00 |
|
Irmen de Jong
|
b28ee0819f
|
revert behavior change of @dirty variables, instead document the initialization behavior correctly in the docs
they get zeroed at program startup (like other uninitialized BSS variables), just not on entry in the subroutine.
|
2025-05-07 21:07:12 +02:00 |
|
Irmen de Jong
|
522958e0e9
|
@dirty variables now actually end up in the uninitialized BSS_NOCLEAR section
|
2025-05-06 01:41:34 +02:00 |
|
Irmen de Jong
|
7eb079050c
|
fix strings.hash() on 6502 CPU's. NOTE: now takes string pointer in AY instead of R0 on all platforms
|
2025-05-01 22:47:43 +02:00 |
|
Irmen de Jong
|
d04164c0a6
|
fix const evaluation of bitwise logical expressions (&, |, ^, <<, >>) of signed operands
|
2025-04-30 22:27:31 +02:00 |
|
Irmen de Jong
|
4d91f92a2e
|
clearer error message
|
2025-04-25 19:38:45 +02:00 |
|
Irmen de Jong
|
98505d27b1
|
IR: fix invalid removal of label chunks and include asmsubs when looking for labels
|
2025-04-24 23:30:51 +02:00 |
|
Irmen de Jong
|
cd63a58ad9
|
IR: get rid of problematic PREPARECALL pseudo instruction
|
2025-04-24 22:32:40 +02:00 |
|
Irmen de Jong
|
170f8dd092
|
IR: new CALLFAR instructions to support callfar into another bank
|
2025-04-24 21:17:48 +02:00 |
|
Irmen de Jong
|
619dcb6a84
|
fix error in IR register typing
|
2025-04-24 20:50:19 +02:00 |
|
Irmen de Jong
|
8debc42381
|
slightly stricter assignment type compatibility checking
|
2025-04-24 15:05:35 +02:00 |
|
Irmen de Jong
|
532d719089
|
more optimal math.randrange() routines
|
2025-04-24 04:04:14 +02:00 |
|
Irmen de Jong
|
2cbe6b5f7f
|
info message when more optimal goto array[idx] is possible
|
2025-04-23 16:59:18 +02:00 |
|
Irmen de Jong
|
d2cc7ccdfa
|
remove redundant variable=0 initializations (BSS clear takes care of them)
|
2025-04-23 14:45:38 +02:00 |
|
Irmen de Jong
|
2cb183c6d8
|
fix regression for goto array[idx] on 6502 cpu which doesn't have jmp (ptr,x)
|
2025-04-23 02:56:10 +02:00 |
|
Irmen de Jong
|
84026b105f
|
smaller code for goto nosplitptrarray[index]
|
2025-04-22 20:01:16 +02:00 |
|
Irmen de Jong
|
a4d0589f10
|
fix errors like parse error still printed in color when -plaintext is set
|
2025-04-22 19:26:11 +02:00 |
|
Irmen de Jong
|
e375f6afce
|
fix diskio.f_read() returning 1 less than the actual size read.
fix diskio.f_read_all() more robust error status end of loop checking.
|
2025-04-21 05:02:16 +02:00 |
|
Irmen de Jong
|
bd1894580e
|
allow floating point value as part of a multi-value return
|
2025-04-18 22:45:05 +02:00 |
|
Irmen de Jong
|
9e694c0337
|
doc
|
2025-04-18 21:11:27 +02:00 |
|
Irmen de Jong
|
830da8de0a
|
memorymapped vars in ZP are now treated as ZP-variables by prog8 itself too
|
2025-04-17 22:19:01 +02:00 |
|
Irmen de Jong
|
9df899eb63
|
document romable option and that strings+initialized arrays become read-only
|
2025-04-17 21:05:46 +02:00 |
|
Irmen de Jong
|
1a07129865
|
c64: graphics.horizontal_line() is romable
|
2025-04-17 00:02:17 +02:00 |
|
Irmen de Jong
|
4fbd67ff99
|
txt.setcc() is romable
|
2025-04-16 23:44:50 +02:00 |
|
Irmen de Jong
|
5bc6c50f42
|
txt.setclr() and getclr() are romable
|
2025-04-16 23:38:16 +02:00 |
|
Irmen de Jong
|
063de3801d
|
txt.getchr() is romable
|
2025-04-16 23:32:18 +02:00 |
|