Jump to content

Recommended Posts

6 hours ago, beqelessen said:

No! Thanks! Where's that requirement documented?

 

...and is it enough to create a zero-size file with a CAS extension, or should I start with a file that has the FUJI header?

Honestly, am surprised anyone is actually using this feature. :) (I did not implement this feature, so am unsure of how it works.)

 

If you're unsure as to whether a particular FujiNet feature is working, the best thing to do is to launch the FujiNet flasher and use its debug monitor window, and observe the output.

https://fujinet.online/download/

 

-Thom

  • Thanks 1
On 10/2/2023 at 2:23 AM, tschak909 said:

Honestly, am surprised anyone is actually using this feature. :) (I did not implement this feature, so am unsure of how it works.)

 

If you're unsure as to whether a particular FujiNet feature is working, the best thing to do is to launch the FujiNet flasher and use its debug monitor window, and observe the output.

https://fujinet.online/download/

 

-Thom

Excellent, thanks for the pointer, @tschak909. I haven't had my FujiNet long enough to need to fire up the flasher. Good to have an excuse to do that. I'll report back here with my findings.

 

I'm not much of a programmer, but I'm hoping to be able to contribute to the FujiNet wiki once I have my head around the interplay of INCOGNITO configuration (on my 800) and ULTIMATE1MB (on my 800XL) and FujiNet. The one thing I don't have is an unmodified Atari 8-bit. I'm on Linux, but I hear Altirra and fujinet-pc work nicely in Wine.

  • Like 2
  • 2 weeks later...

OK, I've had a bit of time to try to use the FujiNet cassette feature. I've flashed my FujiNet Pro up-to-date with v1.2 2023-10-14 18:40:00. It's connected over USB to my Linux machine and I'm following the Serial Debug Output in the FujiNet Flasher on that machine.

 

The FujiNet cassette config is as follows:


Current Mode: 0 PLAY
Current Activation: 1 Pulldown Resistor
Use as Virtual Program Recorder: Yes

Mode:Play

 

To start with, I'm trying to load "Collapsing Boxes", the short BASIC program listed as Program 3 on page 14 of the 1981 "Atari 800 Owners Guide": https://archive.org/details/Atari_800_Owners_Guide_1981_Atari/page/n13/mode/2up. The CAS file is attached below. It works with atari800 4.2.0 on Linux.

 

I'm running a Colleen profile on Incognito: (52K System RAM, OS B + Fastchip, BASIC enabled, Extended RAM AXLON 1024K, SpartaDOS X Disabled). The machine boots into FujiNet CONFIG.

 

I have the CAS file mounted in slot 8 on the FujiNet, loaded from a TNFS server on my network. (The behaviour described below is the same if I load from the SD in the FujiNet Pro.) I press OPTION to boot the Atari from FujiNet CONFIG.

 

The machine boots quickly to BASIC. I type CLOAD; the machine trills and I tap the RETURN key again. The leftmost LED on the FujiNet Pro lights up a steady orange.

 

[22:05:21] MOTOR ON: activating cassette
[22:05:21] Cassette Mode enabled
[22:05:21] Offset: 0
[22:05:21] Offset: 8
[22:05:21] Offset: 16

 

...pops up in Debug Output, then after 15 seconds, the orange LED goes out, I hear the quick sad fast pips indicating a tape synch error sound, as the following is printed:


[22:05:36] Baud: 596 Length: 132 Gap: 14840
[22:05:36] Block 1
[22:05:36] Sending 132 bytes
[22:05:38] 55 55 fc 00 00 00 01 0a 01 0b 01 3b 01 18 03 1e 03 ca 58 b1 59 b1 58 b2 59 b2 cb 00 00 00 40 01 00 00 00 00 00 01 41 01 25 00 00 00 00 02 40 92 00 00 00 00 00 03 40 70 00 00 00 00 00 04 c0 01 00 00 00 00 00 05 40 44 00 00 00 00 05 00 25 25 00 48 45 4c 4c 4f 2c 20 54 48 45 52 45 21 20 59 4f 55 27 4c 4c 20 4c 4f 56 45 20 54 48 49 53 21 9b 08 00 24 24 00 2a 2a 2a 2a 2a 2a 2a 43 4f 4c 4c 41 50 a7
[22:05:38] MOTOR OFF: de-activating cassette
[22:05:38] Cassette Mode disabled

 

...and BASIC displays

 

ERROR-   143

 

It's all over in a few moments.

 

This is reproduceable every time.

01 - CLPSGBXS.BAS - Assorted Programs 1.cas

Edited by beqelessen
40 minutes ago, beqelessen said:

I'm running a Colleen profile on Incognito: (52K System RAM, OS B + Fastchip, BASIC enabled, Extended RAM AXLON 1024K, SpartaDOS X Disabled). The machine boots into FujiNet CONFIG.

Ah, it looks like Colleen might not be supported. Configuring Incognito with an XL/XE profile (1088K RAMBO, Stock XL/XE OS, BASIC state default, SpartaDOS X disabled, Boot to Loader disabled) the tape loads successfully. I'm going to try saving to tape from this profile.

Close! I wrote a one-liner BASIC program:

 

10 PRINT CHR$(6+RND(0);: GOTO 10

 

...and attempted to CSAVE it. (It seems any CAS has to be mounted on slot 8 for the cassette save code to run. I mounted it R/W; dunno yet if that matters.)

 

[23:57:40] MOTOR ON: activating cassette
[23:57:40] fopen = /csave00000000000000359310.cas : ok
[23:57:40] /csave00000000000000359310.cas - CAS file opened succesfully!
[23:57:40] stopped hardware UART
[23:57:40] set pin to input. Value is 0
[23:57:40] Writing FUJI File HEADERS
[23:57:40] Cassette Mode enabled
[23:57:40] Start listening for tape block from Atari

 

...but moments later BASIC has finished writing, and the cassette writing code is still listening. After a reset and power down of the FujiNet, the file /csave00000000000000359310.cas on the SD is zero bytes.

 

Maybe this program is trivially short?

 

This time I'm leaving the FujiNet to timeout on the read after BASIC has finished writing. I'm off to bed. This is just fascinating stuff! It's such a treat to explore this new world with my old 8-bit friend. Thank you to all the FujiNet hardware and software originators and contributors. You people are amazing.

 

 

The log from the latest attempt, which I left overnight to potentially timeout:

 

[00:21:01] MOTOR ON: activating cassette
[00:21:01] fopen = /csave00000000000000094166.cas : ok
[00:21:01] /csave00000000000000094166.cas - CAS file opened succesfully!
[00:21:01] stopped hardware UART
[00:21:01] set pin to input. Value is 0
[00:21:01] Writing FUJI File HEADERS
[00:21:01] Cassette Mode enabled
[00:21:01] Start listening for tape block from Atari
[01:19:35] SNTP time sync event: Tue Oct 17, 01:19:35 2023 +0100
[02:19:35] SNTP time sync event: Tue Oct 17, 02:19:35 2023 +0100
[03:19:35] SNTP time sync event: Tue Oct 17, 03:19:35 2023 +0100
[04:19:35] SNTP time sync event: Tue Oct 17, 04:19:35 2023 +0100
[05:19:36] SNTP time sync event: Tue Oct 17, 05:19:36 2023 +0100
[06:19:36] SNTP time sync event: Tue Oct 17, 06:19:36 2023 +0100
[07:19:36] SNTP time sync event: Tue Oct 17, 07:19:36 2023 +0100
[08:19:36] SNTP time sync event: Tue Oct 17, 08:19:36 2023 +0100

FujiNet cassette support isn't really much more than a curiosity, though, is it? I don't expect you to put this anywhere near the top of your list of priorities, @tschak909.

 

I've posted this to provide a snapshot of what cassette support looks like as of October 2023.

On 10/17/2023 at 12:27 AM, beqelessen said:

I wrote a one-liner BASIC program:

 

10 PRINT CHR$(6+RND(0);: GOTO 10

Sorry, far-fingered that here. It's missing the second closing paren in the post above (which is now too old for me to edit.)

 

10 PRINT CHR$(6+RND(0));: GOTO 10

 

https://oldbytes.space/@fluidlogic/110890238544389529

Edited by beqelessen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...