News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_ComSoft6128

BASIC problem

Started by ComSoft6128, 18:19, 11 November 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ComSoft6128


Prodatron

You can't load a binary below "himem".
You should add

15 memory &3fff

Then you won't get the memory full message anymore.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

ComSoft6128

Thanks but unfortunately no joy - the result is a reset.
Running on 6128 Plus with Parados on Cart.

Prodatron

I checked the DSK.

To get this running type exactly this...

run"trick3
load"fish
30 call 42403
run

:)

No idea, why my old "friend" Mike Behrendt built it in this chaotic way.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

ComSoft6128

Screen displays this time for a few seconds then resets. 
But that's OK I can use the VIDI Rom or Art Studio to display it for longer.

Thank you :)

Prodatron

Ops sorry. You have to use the CALL address which is mentioned after starting "trick3".
"...und dann CALL  [address]"

Then type

load"fish
30 CALL [address]
run

Then it should work.
I used the address in my case. But in your case it could be different.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

eto

the decompression routine is in "trick3.bas" and it's dynamically relocated. It depends on HIMEM of your system.

Just run trick3.bas, then load "fish.scr",&4000

and after that call the address that trick3 reports


--- edit: Prodatron already posted that...sorry

andycadley

I'd hazard a guess it's the number of enabled ROMs that causes it.

ComSoft6128

#8
Thanks :)
Working fine now.

@andycadley - yes I often have to switch off ROMs or disconnect the Rombox due to them "nibbling" at memory.


https://www.youtube.com/watch?v=u9Ko9_ay8CY

martin464

once, when getting the disk based mini office ii to load off a tape for friend with a 464 i did this hack in the loader

OPENOUT "!dud":MEMORY 730:CLOSEOUT
it caused less ram to be chomped been wondering what the heck this did
maybe this could help
CPC 464 - 212387 K31-4Z

"One essential object is to choose that arrangement which shall tend to reduce to a minimum the time necessary for completing the calculation." Ada Lovelace

Bread80

Quote from: martin464 on 12:58, 17 November 22once, when getting the disk based mini office ii to load off a tape for friend with a 464 i did this hack in the loader

OPENOUT "!dud":MEMORY 730:CLOSEOUT
it caused less ram to be chomped been wondering what the heck this did
maybe this could help
When you open a file BASIC allocates memory for input and output buffers (2Kb each IIRC). The memory is allocated below HIMEM. In this code HIMEM is being lowered after the buffers are allocated, ensuring they never get freed. If you do the MEMORY 730 without the file being opened then BASIC will try to allocate the file buffers later, which will fail because there's not enough memory left below HIMEM.

I'm assuming from this that Mini Office II is BASIC software, since this only affects BASIC. (Or the BASIC section of the loader).

Powered by SMFPacks Menu Editor Mod