CPCWiki forum

General Category => Programming => Topic started by: zhulien on 18:38, 02 May 23

Title: whats the best way to find the top of memory for machine code programs?
Post by: zhulien on 18:38, 02 May 23
whats the best way to find the top of memory for machine code programs without hardcoding it?
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: McArti0 on 19:01, 02 May 23
PRINT HIMEM

BUT when you don't print. 40 bytes is in #b805 for 6128
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: McArti0 on 20:07, 02 May 23
  6128  ł  464    ł Size ł Comments on the memory locations
----------------------------------------------------------
&AE5E ł &AE7B ł   2    ł HIMEM (set by MEMORY)
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: zhulien on 22:16, 02 May 23
What do most commercial games do, just hope for the best?
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: McArti0 on 22:26, 02 May 23
With or Without firmware use?
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: zhulien on 22:28, 02 May 23
Quote from: McArti0 on 22:26, 02 May 23With or Without firmware use?
With. I know I can use the entire memory without the firmware.
Title: Re: whats the best way to find the top of memory for machine code programs?
Post by: McArti0 on 22:43, 02 May 23
https://www.cpcwiki.eu/imgs/e/e1/The_Amstrad_CPC_Firmware_Guide.txt

read and remember everything for tomorrow ...  :P
Powered by SMFPacks Menu Editor Mod