|
Post by mirkosoft on Aug 26, 2016 11:43:49 GMT
Hi!
I'm using no one time different Basic versions, but also on different machines. For example Basic 2.0 on C64 is located at $0801, PET 4.0 at $0401, TED 3.5 at $1001 or Basic 10 at $2001 and our Basic 7.0 at $1C01... I wrote not with graphic allocation...
Currently I'm using Basic 10.0 with Mega 65 (and MESS emulator) - if I create program for example on C128 it uses $1C01 and when I try to run it on Mega 65 it reports errors. I must to use NEW command and if listing fits into screen I can confirm each line manually and it runs correctly. You're asking why not to create and save to disk? Simple answer - MESS is not able to save anything, only emulator state and Mega 65 (current bitstream) supports writting to disk not yet, only reads D81 images.
I found over the web many ML code relocators, SID relocators, but no one Basic relocator. Ideal can be with possible to use own address, so that user can enter for example $C005 :)
I have else one tool - PETCAT of VICE. But here's problem. I can select Basic version and it pretends compiling - truth is that it makes not commands in lines, only text and starting program always reports error 'cause text looks like coments without REM... Or it is only in case of Basic 10 (no other I used)?
Can anybody help me? Miro
|
|
|
Post by mirkosoft on Aug 28, 2016 15:51:36 GMT
So now solved...
I found simple problem - I forget that Basic 10 commands cannot to be tokenized in Basic 7, even in Basic 2. Now I know why it returns error: first line is TRAP30 - when I saved it in Basic 2, it was not tokenized 'cause missing command line 30 is SCREEN CLOSE 1 - here was redirected program if finds error, but this commands knows not Basic 7, so the same.
It's not bug in C65 ROM! It needs not relocator!
It needs editor, I'll try to find any 'cause Commodore Basic Editor 1.4.2 failed - it pretends that can edit Basic 10 commands, but at tokenize it fails.
I mean it's easy in assembler to make relocator, but not tokenized commands will stay unchanged. So, only way is find Basic Editor with tokenize Basic 10...
Miro
|
|