News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_zhulien

whats the best way to find the top of memory for machine code programs?

Started by zhulien, 18:38, 02 May 23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zhulien

whats the best way to find the top of memory for machine code programs without hardcoding it?

McArti0

PRINT HIMEM

BUT when you don't print. 40 bytes is in #b805 for 6128
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

McArti0

  6128  ł  464    ł Size ł Comments on the memory locations
----------------------------------------------------------
&AE5E ł &AE7B ł   2    ł HIMEM (set by MEMORY)
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

zhulien

What do most commercial games do, just hope for the best?

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

zhulien

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.

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Powered by SMFPacks Menu Editor Mod