Laser 2001 & Salora Manager - official thread

Discuss computers from the Laser series, Time & Fun handhelds, etc.
User avatar
Scouter3d
Posts: 266
Joined: Mon Jun 28, 2010 7:02 am
Location: Wien
Contact:

Re: Laser 2001 & Salora Manager - official thread

Post by Scouter3d » Wed Dec 30, 2015 7:37 pm

Hi, cool that you have a complete disk system!
in Basic, there is the DISK command... in the magazin, where the listing for "Pipeline" was printed, there is a small reference to disk-users,
it tells you to replace CRUN with DISK "RUN PIPELINE"
so maybe there is something like DISK "SAVE NAME" or DISK "FORMAT" ????
Good luck, TOM:0)
User avatar
MADrigal
Site Admin
Posts: 970
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Laser 2001 & Salora Manager - official thread

Post by MADrigal » Thu Dec 31, 2015 8:42 am

The floppy reads MD1D, so I am not sure if it is single, double or high density.

I will try with one of my old C64 diskettes.

When I type DIR, I get a blank line. So there is the possibility that the diskette is unformatted or empty.

I am going to dump the memory into a WAV file, as per @username@'s request. I am also using my 16K memory expansion module before dumping.
User avatar
MADrigal
Site Admin
Posts: 970
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Laser 2001 & Salora Manager - official thread

Post by MADrigal » Sun Jan 03, 2016 10:43 am

I have got these photos of the Salora DOS manual (probably included in the floppy disk interface, or the floppy disk drive).

Apparently the MLOAD and MSAVE work just like BLOAD and BSAVE, that is: binary load/save from/to diskette

MLOAD "FILENAME",$xxxx (loads binary file from disk into $xxxx)
MSAVE "FILENAME",$xxxx,$yyyy (saves binary file to disk starting from $xxxx with lenght of $yyyy)

READ doesn't seem to be a standalone command for the BASIC interpreter, but for the floppy disk interface/drive internal interpreter

Reading the manual:

DISK "READ BLAHBLAH,$xxxx" or DISK "READ BLAHBLAH,$yyyy,$xxxx"

DISK "WRITE BLAHBLAH,$xxxx" or DISK "WRITE BLAHBLAH,$yyyy,$xxxx".

The commands look similar to MLOAD/MSAVE. The $xxxx and $yyyy parameters look different though.

I am interested into knowing more of the DISK command, which "parameter" it accepts, etc. Reminds me of the way I operated the C64 floppy disk drive with the "OPEN" command followed by parameters for formatting, initialising, renaming, deleting, etc.

My Finnish friend, Jarkko, will hopefully scan the whole manual sometimes soon. I can't wait to have it scanned! :-)
You do not have the required permissions to view the files attached to this post.
Sturmmann
Posts: 2
Joined: Wed Oct 12, 2016 2:05 pm

Re: Laser 2001 & Salora Manager - official thread

Post by Sturmmann » Sat Oct 29, 2016 3:52 pm

I was investigating zero page in Salora Manager. It seems that BASIC’s CHRGET routine starts at $B1. BASIC uses CHRGET to read text characters i.e. tokenized BASIC program which is being interpreted. The routine can be modified, because it is in zero page (RAM). For example it is possible to add new commands to BASIC.

I used a short BASIC program to find the routine from zero page and print it as a decimal dump to the screen. I converted decimal dump to assembly and calculated addresses in relative branches manually so there can be mistakes. CHRGET routine:

Code: Select all

$B1 INC $B8 
$B3 BNE $B7
$B5 INC $B9
$B7 LDA $xxxx
$BA CMP #3A
$BC BCS $C8
$BE CMP #$20
$C0 BEQ $B1
$C2 SEC
$C3 SBC #$30
$C5 SEC
$C6 SBC #$D0
$C8 RTS
In practice, the routine is same as in other 6502 Microsoft BASIC variants. The usage of routine is described for example in Mapping the C64 and Programming the PET/CBM books.
Post Reply