wok diff linld/stuff/src/CRTL.ASM @ rev 22491
updated apr and apr-dev (1.4.6 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 14:21:42 2019 +0100 (2019-12-31) |
parents | 10fa26e4c60d |
children | 53c1379e13fa |
line diff
1.1 --- a/linld/stuff/src/CRTL.ASM Fri Nov 08 20:55:40 2019 +0100 1.2 +++ b/linld/stuff/src/CRTL.ASM Tue Dec 31 14:21:42 2019 +0100 1.3 @@ -17,9 +17,6 @@ 1.4 1.5 segment _DATA byte public use16 'DATA' 1.6 1.7 - global _heap_top 1.8 - extrn _bss_end 1.9 -_heap_top dw _bss_end 1.10 msg_hang db "High mem corrupted - not exiting to DOS",0 1.11 vcpi_alloc_err db "VCPI " 1.12 msg_malloc db "malloc error",0 1.13 @@ -478,6 +475,7 @@ 1.14 ;_fastcall char* malloc_or_die(ax:unsigned size); 1.15 ;*************************************************************** 1.16 xchg_heap_top: 1.17 + extrn _heap_top 1.18 xchg ax,[_heap_top] 1.19 ret 1.20