Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty a2cloud directory on $a2cBinaryURL site #34

Open
TrogdorsArm opened this issue Apr 20, 2018 · 11 comments
Open

Empty a2cloud directory on $a2cBinaryURL site #34

TrogdorsArm opened this issue Apr 20, 2018 · 11 comments

Comments

@TrogdorsArm
Copy link

TrogdorsArm commented Apr 20, 2018

Hello,

I've been trying to rebuild my A2CLOUD.DSK from scratch, but when looking for the A2CLOUD.PO, it's not there on the a2cBinaryURL site. Same with the *.DSK. Is there a new repository for the files required to build an A2CLOUD disk image from scratch? I did build the disk image, but the STARTUP BAS file appears corrupt, so I'm trying to get a working STARTUP program for the .DSK to boot off of.

FILE: ivan.sh

a2cBinaryURL="http://blocksfree.com/downloads"

### DiskImage: Building images from scratch
sudo pkill -f ADTPro
if [[ ! $buildA2CloudDisk ]]; then
echo "A2CLOUD: Downloading 800K disk image..."
wget -qO $a2CloudDisk "${a2cBinaryURL}/a2cloud/A2CLOUD.PO"
echo "A2CLOUD: Downloading 140K disk image..."
wget -qO $a2CloudDisk140 "${a2cBinaryURL}/a2cloud/A2CLOUD.DSK"
fi

@knghtbrd
Copy link
Member

Totally a known issue. Both a2cloud and a2server (for now) compile everything all the time. It really slows the installation down. This is what I started working on before the PSU on my Linux server crashed.

@knghtbrd
Copy link
Member

I hope to return to working on this over the weekend. :)

@TrogdorsArm
Copy link
Author

I've been working on this for a couple weeks, coming up to speed on this project, the code, etc.. I've noticed some bugs during compile of a2cloud, specifically around the nulib2 and nufxlib area. I had to pull those down to compile.

I have a few systems I can test builds on. 2 RPi Zeros, 1 RPi Zero W, 1 RPi 2 B+, and a new RPi 3 B+. Currently I'm using the 2B+. I also have an Enhanced Apple IIe with a 64KB add-on card. SSC, and dual 'disk II' drives.

I have a huge love for the Apple IIe and would love to help in keeping this project up-to-date. I've never participated in github project before, so it's a learning experience. I have been a coder for over 30 years. I started on the Apple IIe, did Basic and a little Assembler, then moved on the C, Perl, Python, in my career.

I'd be more than happy to join the project. I have a learning curve by learning GitHub and how things are done. I have 4 PDFs on Git that I got free from Packtpub.com. So lots of reading. Starting with GitHub Essentials.

GITHUB_ESSENTIALS.pdf
GIT_BEST_PRACTICES_GUIDE.pdf
GIT_VERSION_CONTROL_FOR_EVERYONE.pdf
MASTERING_GIT.pdf

@knghtbrd
Copy link
Member

knghtbrd commented Apr 20, 2018

I've just dropped the A2CLOUD.PO and .DSK files in there as we are the origin for those things, so they kinda need to be there whatever else I am doing. I'm going to consider the issue still open since populating those directories is going to be important.

@knghtbrd
Copy link
Member

Do you by chance use slack or irc? @gamebits (Ken Gagne) can invite you to the apple2infinitum slack (dunno who else can, but Ken's responsive) The a2chat script will take you to irc.a2central.com #a2c.chat—but slack's nice because you can do file attachments and the like easily and it's less dependent upon realtime connection. I'm happy to help with new git stuff, and I could certainly use a hand if you've got a mind to help out. :)

@TrogdorsArm
Copy link
Author

I have not used slack before. If @gamebits can toss me an invite to the workspace, that would be cool. I've also jumped into irc.a2central.com via a2chat.

I'd love to help out. Point me to my first task. ;)

@TrogdorsArm
Copy link
Author

@iKarith thanks for dropping those 2 files out on the a2cBinaryURL location. I used ADTPro via my RPi to Speediboot-strap my IIe and write the A2CLOUD.DSK to a floppy. I rebooted the IIe and used the floppy. Everything came up fine, but after pressing (v) for -VSDRIVE, the app crashed with

I/O ERROR
BREAK IN 530

LIST 530
530 IF ST$ = "V" OR ST$ = "v" THEN PRINT CHR$ (4);"-VSDRIVE" : VTAB 23: END

Not sure why I'd get the 'I/O ERROR' when my IIe<->RPi serial connection works great with ADTPro in the RPI GUI.

FWIW: I compiled ADTPro from https://sourceforge.net/projects/adtpro/.

@TrogdorsArm
Copy link
Author

TrogdorsArm commented Apr 20, 2018

Update: At first I thought the I/O error could be caused by me having my SSC in SLOT 1, but I moved it to SLOT 2 and got the same results. Leaving everything as-is and bare-metal bootstrapping it via ADTPro off the RPi works fine, so I'm not sure what the a2cloud -VSDRIVE is complaining about. I'll keep digging but if you have any advice, that would be awesome.

I'll try a VDRIVE-2.0.1.DSK and see what results I get.

@TrogdorsArm
Copy link
Author

Update: Created the VDRIVE-2.0.1.DSK, booted the floppy and was able to see the /usr/local/adtpro/disks contents on the IIe.

I decided to try
acmd -g /usr/local/adtpro/disks/VDRIVE-*DSK VSDRIVE - | acmd -p ./A2CLOUD.DSK VSDRIVE SYS
acmd -g /usr/local/adtpro/disks/VDRIVE-*DSK VSDRIVE.LOW - | acmd -p ./A2CLOUD.DSK VSDRIVE.LOW SYS
Then recreated the floppy and got the same error. I'm at a loss at this point.

@knghtbrd
Copy link
Member

Any thoughts on these last couple of comments @david-schmidt? I think we used to use a custom version of ADTPro that didn't match any particular release version (SF snapshot maybe?) but you've updated things since then and Phil's trying to use updated versions with the same result.

@david-schmidt
Copy link

Thought number 1: the latest ADTPro is now on Github (https://github.com/ADTPro/adtpro).
Thought number 2: so it sounds like the problem is in the code that is erroring out?

I/O ERROR
BREAK IN 530

I'm not very familiar with A2CLOUD et al, but it seems likely that at the point you're pressing v, it's supposed to be running VSDRIVE off of some media (potentially virtual) that's not working. So I'd suggest tracing down what it's expecting to run, and where it's running it from. Once you know that, you can figure out is it 1) failing to find the media at all, or 2) actually running VSDRIVE but then hitting some kind of error (potentially communications-related) once it gets there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants