Jump to content
IGNORED

PCLINK.SYS support?


gozar

Recommended Posts

DIR PCL:*,* does not like...

What about PCL: without any filemask (should default to "*.*")?

 

Anyway I just set it up here and it's absolutely brilliant - probably the most useful advancement this software's seen in a long time. "DIR PCL:*.*" and "DIR PCL:" are working here OK, although I'm using the SDX 4.48 beta toolkit disk.

Edited by flashjazzcat
  • Like 2
Link to comment
Share on other sites

pclink is beginning to work even better now that I have dropped the /S parameter from my config.sys .... I have noticed that the program drag slot 'A' to slot 'B' still responds to DIR PCL: but not to DIR PCLB: until I close and reopen RespeQt and do a COLD boot. Also I was looking at the BACKUP.BAT from the SDXtoolkit and realized that I can have 15 pclink assignments and not effect the hard drive access. Unlike having SIO assignments that conflict with partition slots...

  • Like 1
Link to comment
Share on other sites

The attached Windows binaries support "eject" and "drag&drop" for PCLINKs.

I don't know the how the PCLINK.SYS driver is implemented (if there is any cache on the ATARI side).

According to the protocol description, the warm start causes to re-initialize the PCLINKs on the RespeQt side (ATARI sends the "INIT" PCLINK command).

 

RespeQt-PCLINK2.zip

  • Like 2
Link to comment
Share on other sites

UPDATE:

any CON.XXX files did not copy, and suggest that windows based computers need the CON.XXX files not be in the copy /br path.

I had to run the batch file 3 times to get all partitions copied because of the ACK would abort current batch copy.

  • Like 1
Link to comment
Share on other sites

Now I recall that there are also other special file names under Windows:

 

"PRN", "AUX", "CON", "NUL"

 

The above names are not valid file names...

I remember doing a workaround for it in the NVC tool (I was just appending '_' to these names).

 

@rdea6

Is the "abort current batch copy" issue related to the CON.XXX problem?

Link to comment
Share on other sites

It is kind of funny how Microsoft does not seem to be able (or care?) to solve this problem. Just notice that SpartaDOS X also has such "special files", but this does not make any trouble with naming files: simply "CON" is a file and "CON:" is a device and that is all.

Edited by drac030
  • Like 4
Link to comment
Share on other sites

@rdea6

Is the "abort current batch copy" issue related to the CON.XXX problem?

No not the con problem, but the power saving feature on Windows and screen saver would kick in after 30 Min and USB would stop also. This is cause of abort current batch copy. I just need to remember to change power settings to be longer before doing a large copy project.

Link to comment
Share on other sites

Set Altirra appropriately and let it run parallel to avoid this. No need to change the power settings.

 

This is only going to work if you also attach a controller and tie the stick with a rubber band, because otherwise Altirra doesn't suppress power saving mode. It would work, but is a bit of a goofy way to fix this issue.

Link to comment
Share on other sites

 

This is only going to work if you also attach a controller and tie the stick with a rubber band, because otherwise Altirra doesn't suppress power saving mode. It would work, but is a bit of a goofy way to fix this issue.

I am doing exactly what I described for quite some years to prevent Windows 7 from kicking in the screen saver and later on powering down the machine. There was a setting somewhere to decide if Altirra should pause or not when its window is not the active one. Disable the pause option and let Altirra run. An endless demo or the demo mode of any game is enough to keep Windows 7 awake.

 

As a side effect it might as well stabilize the SIO transfers from RespeQt/AspeQt with some PC machines.

Edited by GoodByteXL
  • Like 1
Link to comment
Share on other sites

I'm puzzled: what does a demo or game do to the persistence of the emulated machine (presumably without any simulated user input via keyboard or controllers) which sitting at - say - the DOS 2.5 menu does not, since the 6502 is 100 per cent busy even when the OS is waiting for a keystroke?

Link to comment
Share on other sites

Sound. Altirra's audio engine has a DC filter, so if the emulated computer isn't playing sound, the audio signal will eventually go to zero, which can then be detected by the kernel mixer. Whether or not this actually prevents the screen saver or sleep, however, is not guaranteed and likely OS version and driver specific. The OS is particularly aggressive about activating the screen saver if a password is set. Altirra only directly nudges the system when detecting controller input; otherwise, the system staying awake is up to OS heuristics. RespeQt should call SetThreadExecutionState() or PowerCreateRequest() to keep the system running.

  • Like 5
Link to comment
Share on other sites

 

Also COM1-COM9, LPT1-LPT9, and any extension combined with these names.

 

In Altirra I prefix with $ since _ is a valid name character in SDX.

 

I was not aware about the PCLINK support in Altirra. Cool :)

I configured the emulator, did some testing and looked at the source code (2.71).

It looks, that you took '!' as a prefix for the invalid file names, didn't you?

I would like to follow your approach, so users could use the same folder (with subfolders) and access it via PCLINK from the Altirra or from a real ATARI.

  • Like 1
Link to comment
Share on other sites

 

I was not aware about the PCLINK support in Altirra. Cool :)

I configured the emulator, did some testing and looked at the source code (2.71).

It looks, that you took '!' as a prefix for the invalid file names, didn't you?

I would like to follow your approach, so users could use the same folder (with subfolders) and access it via PCLINK from the Altirra or from a real ATARI.

 

Well... the H: device uses $ while PCL: uses !. Don't remember offhand why the two schemes are different, and I should probably change one of them. The host device code can do long name mangling, though, while the PCLink code cannot.

Link to comment
Share on other sites

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...