[changes] 15/4/2021
Posted: Thu Apr 15, 2021 9:40 pm
It's been a couple of weeks, so time for another round up.
(classic) %hh and %z specifiers for printf
* They don't do much, but added for compatibility reasons.
(classic) Add debounce capability for kbhit/getch
* Adding -pragma-define:CLIB_KBHIT_NOSTORE=1 will now debounce. Useful for --hardware-keyboard ports. Enabled by default for +sam
(classic) Generic console scrolling
* Correct a long standing issue that could cause scrolling to happen at the wrong time
(classic) - ZX* Compression
* ZX0 is now available for the 8080
* Some flavours of ZX0,ZX1,ZX2 are now available for +gb
(classic) +gl -clib=gl6000sl screen clearing
* The whole of the display should now be cleared rather than leaving 4px rows untouched
(classic) +sam - Heap handling
* The heap is now correctly initialised when using -DAMALLOC
(classic) ANSI terminal
* Remove a 20 year old "temporary" patch. Code 13 now moves the printing position to the start of line
* +zx Inverse now applies to all 8 rows of the character when printing in 32 column mode
(classic) z80 library compatibility with z180
* Some de-optimisations have been applied to ensure that code targeting the z80 can also run on the z180
(sccz80) K&R function declaration handling
* Quieten down a diagnostic raised when a K&R declaration was assigned to a function pointer (and vv)
(sccz80) named address spaces
* Fix some issues which didn't correctly switch the namespace around function calls
(sccz80) Fix handling of 0 sized arrays
(sccz80) Many new optimisation rules
* Many rules added that both speed up and reduce program size
(zcc) -startupoffset/-startup options
* (Release issue) The handling of these options was broken which ended up breaking +zxn newline support: binaries ended up much larger than expected since extra routines were being added to the binary.
(classic) %hh and %z specifiers for printf
* They don't do much, but added for compatibility reasons.
(classic) Add debounce capability for kbhit/getch
* Adding -pragma-define:CLIB_KBHIT_NOSTORE=1 will now debounce. Useful for --hardware-keyboard ports. Enabled by default for +sam
(classic) Generic console scrolling
* Correct a long standing issue that could cause scrolling to happen at the wrong time
(classic) - ZX* Compression
* ZX0 is now available for the 8080
* Some flavours of ZX0,ZX1,ZX2 are now available for +gb
(classic) +gl -clib=gl6000sl screen clearing
* The whole of the display should now be cleared rather than leaving 4px rows untouched
(classic) +sam - Heap handling
* The heap is now correctly initialised when using -DAMALLOC
(classic) ANSI terminal
* Remove a 20 year old "temporary" patch. Code 13 now moves the printing position to the start of line
* +zx Inverse now applies to all 8 rows of the character when printing in 32 column mode
(classic) z80 library compatibility with z180
* Some de-optimisations have been applied to ensure that code targeting the z80 can also run on the z180
(sccz80) K&R function declaration handling
* Quieten down a diagnostic raised when a K&R declaration was assigned to a function pointer (and vv)
(sccz80) named address spaces
* Fix some issues which didn't correctly switch the namespace around function calls
(sccz80) Fix handling of 0 sized arrays
(sccz80) Many new optimisation rules
* Many rules added that both speed up and reduce program size
(zcc) -startupoffset/-startup options
* (Release issue) The handling of these options was broken which ended up breaking +zxn newline support: binaries ended up much larger than expected since extra routines were being added to the binary.