Mad Pascal 1.7.82026-08-28
- bugfixes and optimizations
- unit LWZUnit
- unit TMC
- new RESOURCE: TMC, TMCPLAY
- SYSTEM: GetMem(pointer, size) removed as potentially dangerous; GetMem(size) is the most reliable
- improved type punning
Mad Pascal 1.7.72026-05-02
- bugfixes and optimizations
- new unit: snappy, lzrw1kh, sprites, sprites8x16, sprites12x8, sprites12x16
Mad Pascal 1.7.62026-01-21
- Bugfixes and Optimizations
Mad Pascal 1.7.52025-12-07
- bugfixes and optimizations
- added support for SUBRANGE (low..high)
- new PACKFIRE, SAM, MD1 units
- added MD1, MD1PLAY resources
- improved parsing of real values, accepts additional characters ‘E’, ‘-’, e.g. 6.1858296469E-02
Mad Pascal 1.7.42025-08-18
- Bugfixes and Optimizations
- improved operations on ENUM type (passing/returning to procedure/function)
- added support for WITH statement (WITH record_name)
- new units: SHA256, GIF, AES, BFONT
Mad Pascal 1.7.32025-07-02
- Bugfixes and Optimizations
- added support for addressing a pointer to an array in OBJECT
- added new optimization 'optBOOLEANOR.inc'
Mad Pascal 1.7.22025-02-24
- optimizations, bugfixes
- faster code for ABSOLUTE arrays
- unit SYSTEM added array 'mem: array [0..0] of byte absolute $0000'
- optimization for CASE (tail optimize)
- INC/DEC optimization for [striped] arrays
- new unit E80, handler E: in HiRes mode, 80 columns.
- new unit RC4, encryption with RC4 algorithm
Mad Pascal 1.72024-09-25
- [STRIPED] for arrays with a maximum range of 0..255
- new target, neo6502 (-t neo)
- GRAPH.INC: Circle (faster version)
- fixes lib/aplib.pas
- fixes lib/zx0.pas
- improved CASE optimization
- added directive {$UNITPATH filename} as equivalent to {$LIBRARYPATH filename}
- added ability to specify a path for a module declared by USES, e.g:
uses crt, vector in '...\3d_vector.pas';
- added support for LIBRARY modules
- added EXTERNAL modifier for variables, procedures, functions
- added ability to set compilation address from program level, e.g.:
program name : address;
library name : address;
Mad Pascal 1.6.92023-10-13
- improved memory allocation for arrays [0..0], 'ABSOLUTE $0000' is enforced initially, 1 byte of memory is saved
- added possibility to declare arrays without specifying their size, e.g.:
var tab: array of byte = [1,3,4,3,1];
var tb: array of char = 'abcdefghij';
- new compiler directive {$bin2csv filename} allows you to initialize arrays e.g.:
var tb: array of byte = [ {$bin2csv filename} ];
- new compiler directive {$optimization loopunroll}, {$optimization noloopunroll}, performs FOR loop unrolling with fixed parameters
- new BLOWFISH module allowing to encrypt, decrypt character strings according to specified key
- new example a8\AES-Rijndeal
Mad Pascal 1.6.82023-08-20
- resignation of type expansion for expressions from SHR
- new SAPR resource type, SAPRPLAY
- for RMTPLAY, as the second parameter you can specify the address for variables on the zero page
- SizeOfResource(variable, name)
- unit SAPLZSS
- unit SHANTI
- unit SHA1
- unit xSFX
- unit SYSTEM: NtoBE, RorByte, RorWord, RorDWord, RolByte, RolWord, RolDWord, SarShortint, SarSmallint, SarLongint
- possibility to instantiate an array of CHAR type by STRING (if string is shorter spaces will be inserted), e.g:
tab: array [0..15] of char = '0123456789ABCDEF';
- fixed passing function values through arrays
- added support for VBLKI interrupts (immediate) via SetIntVec, GetIntVec (https://mads.atari8.info/doc/pl/przerwania/)
- rewritten compiler code for mod separable modules
- rewritten code for handling arrays with pointers to records 'tab: array [0..x] of record^'
- added optimization 'Common head/tail Sequence coalescing'