slederer
bf813fac1d
corelib: revert PUTPIXEL changes
...
- changes to corelib made sdcard i/o unstable for
unknown reasons and the performance improvement
for PUTPIXEL was only about 10%
2026-02-01 11:52:16 +01:00
slederer
1e56251fc1
vgafb: buffer maskgen outputs to avoid timing problems
2026-01-31 17:24:36 +01:00
slederer
8900eb90be
corelib: new putpixel routine using shifter/maskgen
2026-01-31 02:31:00 +01:00
slederer
937369f60b
lib,examples: changes for new register address mapping
2026-01-28 01:15:16 +01:00
slederer
d17c4c41fd
docs: add section about units to the pascal programming guide
2026-01-25 23:24:04 +01:00
slederer
11814cd24f
pcmaudio: bugfix corrupted audio, loop mode, adjust examples
2026-01-02 22:56:39 +01:00
slederer
536c0adde7
pcmaudio: set amplitude to biased zero at end
...
pcmtest2: small updates to the demo program
2025-10-12 22:52:17 +02:00
slederer
5c00dfcec9
tdraudio: add irq_enable flag, add pcmaudio library
...
runtime: disable interrupts on PTERM
stdlib: check for error state in FileSize
2025-10-07 00:37:53 +02:00
slederer
4e044ad2a4
sdcardlib: use slightly faster spi clock
...
also:
- new benchmark results
- experiment with synthesis settings
2025-09-16 21:57:53 +02:00
slederer
52f82fe6ae
runtime: bugfix stack corruption in MEMAVAIL
2025-08-31 23:31:00 +02:00
slederer
14d6de059d
implement newOrNil, changes to stdlib
...
- newOrNil works like new, but sets the variable to nil
if the heap allocation failed
- change stdlib to use newOrNil in openfile and openvolumeid
- changes to programs that use openvolumeid
2025-08-31 23:30:40 +02:00
slederer
165517a9c8
runtime: add MemAvail function
2025-08-24 02:04:42 +02:00
slederer
95cc02ffcb
stdlib: fix memory leak on file errors
...
stdlib: throw runtime error when reading invalid real number
stdlib: bugfix val (real) for empty strings
tdrimg: add another demo image
2025-08-22 03:10:12 +02:00
slederer
a060b65bb9
Merge branch 'inscache' of ssh://forgejo@git.insignificance.de:42122/slederer/Tridora-CPU.git
...
# Conflicts:
# examples/benchmarks.results.text
2025-04-13 23:21:38 +02:00
slederer
d91d6ab8e7
stdlib: handle unix line endings correctly
...
serload: longer pause between sending files
2025-04-13 23:08:55 +02:00
slederer
3526060a19
sasm: bugfix for LBRANCH/LCBRANCH size changes
...
- The LBRANCH and LCBRANCH directives
create different instruction sequences
depending on the jump distance.
So the code size can shrink during the first pass
when the jump distance can be determined (when the
label that is the jump destination is parsed).
In the long form, LOADREL/JUMP is used, which might
or might not need 2 bytes of padding. With this bugfix,
the padding is always added, either before or after
the LOADREL indirect operand, so that the code
size does not change depending on the padding
required. Otherwise the code might shrink further
on the second pass because a LBRANCH/LCBRANCH
instruction no longer needs padding due to an
earlier code size change.
2025-04-07 00:25:32 +02:00
slederer
8abd9fc126
tridoracpu: cache bug fixes
2025-03-29 01:29:16 +01:00
slederer
3f40c50170
lib: prepare rommon and corelib for different clock speeds
2025-03-13 23:15:45 +01:00
slederer
4f504c0f48
stdlib: start with valid random seed; other small changes
...
- tridoracpu: fix comment
- add benchmark some results
2025-03-09 01:57:11 +01:00
slederer
70ad303218
stdlib: Bugfix wrong variable name
2025-02-04 01:10:10 +01:00
slederer
c779cd0d3f
stdlib: add nointr procedure
...
stdlib: give PExec2 and PExec3 more sensible names
pcomp: increase heap size
2025-02-02 01:18:01 +01:00
slederer
3c8525dcca
stdlib: increase string length for copy and insert
2025-01-15 01:55:58 +01:00
slederer
74a467cba6
pcomp: Increase heap and stack sizes
2025-01-12 00:02:54 +01:00
slederer
91cb059f38
use precompiled standard library (not really a linker)
2024-11-09 22:22:48 +01:00
slederer
df46223d88
reclaim: crunch free space
2024-10-20 00:50:59 +02:00
slederer
a35b8eaf60
Bugfix int range in sasm, create Makefile, portability fixes
2024-10-06 23:51:57 +02:00
slederer
60db522e87
initial commit
2024-09-19 14:12:22 +02:00