News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Zoe Robinson

I made this and thought of you

Started by Zoe Robinson, 17:14, 26 November 14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AMSDOS

Quote from: Bryce on 09:30, 03 December 14
Yes, but you can save it on a tape for the next time you need it :)

Bryce.


I've found a way in Winape where I can load as much of a program as possible with Load. When the programs is loading it appears to be buffered into Memory between &9000 and &A000 depending on how much is loaded in I think (using Debug). That code can be moved, using the Assembler moving that code with LDIR:



org &be80


ld hl, <where the program begins>
ld de,&170 ;; Start of BASIC
ld bc,<length of program : End Address - Start Address>
ldir


ret



in my situation I was having problems loading Block 2, but was loading Block 1 OK, but if a Read Error should occur at the start of the program, then this approach won't help much.


But I'm guessing the Retriever Type-in Program from AA53 has a way of reading Blocks which aren't corrupt, using my approach I'm trying to read in as much of a program hoping the Read Error comes late when loading it and then moving that information where BASIC programs go.


Once in BASIC I can use the Assembler with Winape to copy the BASIC program to there and delete the corrupt lines.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Powered by SMFPacks Menu Editor Mod