Irmen de Jong
|
f350137a14
|
fix array in place assignments
fixes balls and snow examples amongst others
|
2023-03-10 04:07:50 +01:00 |
|
Irmen de Jong
|
6c34672549
|
array in-place assignment problem
|
2023-03-10 02:02:47 +01:00 |
|
Irmen de Jong
|
6e9025ebf2
|
cx16 fix irq statusbit handling and kefrenbars example
|
2023-03-03 21:58:08 +01:00 |
|
Irmen de Jong
|
3922691b3c
|
limit to 48828 hz sample rate (vera max)
|
2023-03-03 18:04:21 +01:00 |
|
Irmen de Jong
|
0545b77cf4
|
ask for filename
|
2023-03-03 17:24:16 +01:00 |
|
Irmen de Jong
|
6b3f39fa1a
|
oops
|
2023-03-03 17:17:19 +01:00 |
|
Irmen de Jong
|
3114ab87dc
|
add 8 bit sample width support
|
2023-03-03 17:12:44 +01:00 |
|
Irmen de Jong
|
00bc99cc7b
|
added cx16/stream-wav example, refactor pcmaudio code
|
2023-03-03 14:18:13 +01:00 |
|
Irmen de Jong
|
ded2483fc0
|
cx16 startup code now properly turns off mouse cursor
|
2023-02-27 23:35:42 +01:00 |
|
Irmen de Jong
|
e62ea388e0
|
tweak cx16 adpcm example
|
2023-02-24 01:38:03 +01:00 |
|
Irmen de Jong
|
d9e4f39ddc
|
memset BSS section to zero all at once, less individual var=0 assigns
|
2023-02-21 00:26:21 +01:00 |
|
Irmen de Jong
|
92a07b87d2
|
clearer
|
2023-02-20 02:32:36 +01:00 |
|
Irmen de Jong
|
adc15c24ef
|
introduce bss segments
|
2023-02-19 18:12:37 +01:00 |
|
Irmen de Jong
|
9ca6860ffa
|
tweak
|
2023-02-19 15:08:16 +01:00 |
|
Irmen de Jong
|
86c22636eb
|
Merge branch 'master' into codegen-on-new-ast
|
2023-02-09 23:05:54 +01:00 |
|
Irmen de Jong
|
fe29d8a23f
|
tweak codegen of inline sub
|
2023-02-09 21:59:09 +01:00 |
|
Irmen de Jong
|
7b59bc8d12
|
avoid division by zero if host fs hyperload is used which loads instantly
|
2023-02-08 01:37:49 +01:00 |
|
Irmen de Jong
|
c75b1581d2
|
lookup via new ST
|
2023-02-05 01:15:23 +01:00 |
|
Irmen de Jong
|
109e118aba
|
fix sub return register
|
2023-02-03 21:16:44 +01:00 |
|
Irmen de Jong
|
e94319145f
|
test
|
2023-01-26 01:41:44 +01:00 |
|
Irmen de Jong
|
48c9349ce9
|
working on codegen fixes
|
2023-01-25 01:57:25 +01:00 |
|
Irmen de Jong
|
99c62aab36
|
Merge branch 'master' into codegen-on-new-ast
# Conflicts:
# examples/test.p8
|
2023-01-24 01:51:20 +01:00 |
|
Irmen de Jong
|
74b69e191e
|
restructure keyboardhandler example due to X register bug, discussed in #94
|
2023-01-24 01:30:57 +01:00 |
|
Irmen de Jong
|
8cda8a727c
|
update vtui example to vtui 1.0
|
2023-01-24 01:00:21 +01:00 |
|
Irmen de Jong
|
4403e4ed62
|
optimize node renames
|
2023-01-22 18:26:37 +01:00 |
|
Irmen de Jong
|
9b209823f6
|
simple test
|
2023-01-22 17:10:52 +01:00 |
|
Irmen de Jong
|
4e103a1963
|
making snow example more interesting
|
2022-12-22 13:04:26 +01:00 |
|
Irmen de Jong
|
bf0604133c
|
fix error in IR for inline asm and BSS vars.
|
2022-12-04 16:48:44 +01:00 |
|
Irmen de Jong
|
a82b2da16e
|
Fix some FP related assignment issues in 6502 codegen.
|
2022-12-04 13:03:38 +01:00 |
|
Irmen de Jong
|
17bedac96c
|
vm: memory is randomized on start instead of 0. P8ir file now has BSS segment. Vm clears BSS vars to 0.
|
2022-12-03 17:46:06 +01:00 |
|
Irmen de Jong
|
f470576822
|
it's now possible to use symbols that are the same name as 6502 instructions
because these are now prefixed internally before generating assembly.
|
2022-11-30 18:39:56 +01:00 |
|
Irmen de Jong
|
10760a53a8
|
optimize cmp word equal/notequal
|
2022-11-29 20:14:35 +01:00 |
|
Irmen de Jong
|
eee805183c
|
don't overwrite temp vars in complex comparison expressions. Fixes #89
|
2022-11-29 04:13:25 +01:00 |
|
Irmen de Jong
|
b8fb391022
|
- ir codegen now allows subroutine having the same name as its block
this is not possible for the 6502 codegen due to 64tass scoping limitation
|
2022-11-28 21:54:33 +01:00 |
|
Irmen de Jong
|
3c698f1584
|
fileseek for writing not right now
|
2022-11-27 21:52:18 +01:00 |
|
Irmen de Jong
|
2fad52d684
|
the adpcm example can now read wav files directly (so no need anymore to extract the binary frame data from them)
|
2022-11-27 21:37:40 +01:00 |
|
Irmen de Jong
|
ec64a68a71
|
fixed compiler crash: unsigned = (-(unsigned as word) as uword)
|
2022-11-27 17:25:47 +01:00 |
|
Irmen de Jong
|
db55562f6a
|
fixed adpcm playback
|
2022-11-27 16:36:30 +01:00 |
|
Irmen de Jong
|
0d0ce6eec1
|
adpcm plays pcm
|
2022-11-24 21:03:50 +01:00 |
|
Irmen de Jong
|
7b6c742178
|
fixed diskio.f_read() for small read sizes
|
2022-11-24 00:23:37 +01:00 |
|
Irmen de Jong
|
f870e4965a
|
added cx16diskio.f_seek() function to seek to a position in an opened file
f_open uses channel 12 now, f_open_w uses 13
|
2022-11-23 01:48:04 +01:00 |
|
Irmen de Jong
|
c21913a66b
|
ir: keep order of children in block
|
2022-11-22 02:04:24 +01:00 |
|
Irmen de Jong
|
153b422496
|
cx16: retain display mode (composite etc)
|
2022-11-20 19:19:01 +01:00 |
|
Irmen de Jong
|
d8e87bd881
|
make uword xx = 1<<shift into a word shifting
|
2022-11-16 01:39:34 +01:00 |
|
Irmen de Jong
|
922033c1b2
|
main block element order now remains the same as in source
|
2022-11-16 00:32:00 +01:00 |
|
Irmen de Jong
|
836a2700f2
|
func(x>>1) no longer uses slow stack eval
|
2022-11-15 02:49:40 +01:00 |
|
Irmen de Jong
|
00c059e5b1
|
adding cx16/adpcm example
|
2022-11-15 01:17:28 +01:00 |
|
Irmen de Jong
|
f4f355c74a
|
added cx16/diskspeed example
|
2022-11-14 17:55:55 +01:00 |
|
Irmen de Jong
|
2d78eaa48d
|
fix gfx2 text color, added cx16 snow example
|
2022-11-12 22:08:07 +01:00 |
|
Irmen de Jong
|
9d7b9771c2
|
p8ir file format is now valid XML
|
2022-11-11 23:35:52 +01:00 |
|