Msg: 4613 *Conference*
08-19-93 10:07:19
From: TRACY ALLEN
To : JOHN SOLON
Subj: REPLY TO MSG #4612 (CORRECTION)
Dear John, Re the APPEND. If you want to append the contents of a file "NEW.DO" to a file "ARCHIV.DO", the following should work. MAXFILES=2 OPEN"ARCHIV"FOR APPEND AS 1 OPEN"NEW"FOR INPUT AS 2 40 IF EOF(2) THEN 80 50 LINEINPUT#2,A$:PRINT#1,A$ 60 GOTO 40 80 CLOSE: END . Is that the kind of thing you're trying to do? Preface the above routine by loading ARCHIV.DO from the RAMPAC, then postscript it by saving ARCHIV.DO back into the RAMPAC. The whole routine should just take a few seconds. Re: resetting the ROM triggers. I'm not sure what you mean. Are you wanting to have a ROM-bank active, then on the fly go into XR bank 2 to grab a program or a file, and then reactivate the ROM? The code in lines 940->943 was patched in to the menu program to deal with the peculiarities of specific ROMs, i.e., the POKE 65006,0 is there for the benefit of PCSG ROMs, and the FOR-NEXT loop involving pokes to the ROMNAME buffer at 64164 is there only for the benfit of people who want to switch from using CRDFIL (or other ROM compiled with RBASIC) to ROMs compiled using PCSG or TravellingSoftware techniques. Are you using an RBASIC ROM like CRDFIL? If you do use the code in those lines, you also have to include the code in lines 86 to 89 of XR4MNU. You'll notice there is a CALL64712,64+K in line 942. That is a call to machine language code that is installed by lines 86->89. If that is not there, you will ICE your computer. But tell me what you want to do. -- Tracy