|
Post by cbmguy on Oct 11, 2015 15:41:14 GMT
Is there a C128 network option that will have a Cross Assembler send the compiled code to the C128 memory? For example, using a mod'd kernal on the C128 and an ethernet cartridge that would wait for a specific packet on the network. The cross assembler would use a function that would compile the source, send a "hey you there" packet, wait for an ack back with some "here I am" info and then push the compiled bytes to that specific C128 on the network--automatically writing to the C128's memory where specified by the cross assembler.
It's Thanksgiving weekend here in Canada (gobble gobble) and with this extra time I got to playing around with my 41U-II and the new 3.0b firmware--with it comes some pretty slick networking. With the alternative kernal options in the cartridge, making a kernal with a network option to listen for a special "hello where are you" packet from a cross assembler/IDE on the network would be a little easier.
Emulators are great, but they don't compare to the real VDC of the 128. Transferring the compiled code from one source to another is getting to be such a bummer.
c
|
|
|
Post by hydrophilic on Oct 12, 2015 7:13:29 GMT
Yeah, transferring code to the real machine is a bit of bummer (although easier these days than, for example, write 3.5 inch disk with PC and using "FAT Import" with C1581). One of these days I hope to network my C128... until then, I hope you (or others) can tell us how to do it... thanks! Sorry, I don't know anyway to transfer data to C128 on real hardware... I think there is option in VICE to grab data from a TCP/UDP ports... In either case (real or VICE), I don't know of any (cross) assembler that will output to TCP/UDP. Well with Linux, I guess you could pipe the output from an assembler to TCP/UDP port (heck, might even work in Windows, but never tried). Anyway, I think this is a great idea, and hope to hear from other more knowledgeable people!
|
|
|
Post by gsteemso on Oct 13, 2015 2:06:30 GMT
If you set up a local http server ("web sharing" or the like), a Flyer can load programs or even entire disk images with a simple OPEN or LOAD command on the Commodore. I do not know if a Comet can do this as well, as I do not own one and have never investigated it.
|
|
|
Post by cbmguy on Oct 15, 2015 17:26:18 GMT
Those Flyer's look pretty slick, but they've been out of production for quite some time. I would love to see for sale again. I'm kicking my self for not buying one when I had the chance.
My idea was a little lazy, perhaps: Write the source in an IDE on the PC, press CTRL-F5 (for example) to cross compile, when completed send the binary to the Commodore. The Commodore would monitor the network for a special packet sent with the CTRL-F5 from the PC's IDE and fill its memory with the incoming binary and then execute at the specified location.
I wish I had more time... But this maybe something that will force me to get my basement organized and everything set up properly to work on.
c
|
|
|
Post by hydrophilic on Oct 18, 2015 16:53:53 GMT
If you want instant/hassle-free transfer, I think gsteemso gives the best option. Otherwise, for pure electronics, you would need some special program on your Commodore to listen to "traffic" (like the serial-bus, or TCP/UDP ports). I don't know of any such software... maybe somebody can comment? Another option, not instant/electronic is to swap files with a SD card. Many PCs have SD card read/write these days, and there are several SD-card devices for CBMs. It is what I use because I still haven't networked my C128 (still trying to score 1541-Ultimate I). I use Jim Brain's uIEC, but I believe you can also use 1541-Ultimate I or II, or other MMC devices (or so I've read...)
|
|
|
Post by cbmguy on Oct 19, 2015 14:59:19 GMT
FYI: With the 1541-Ulitmate II and the new firmware, you can now ftp your files to the cartridge (if you have a proper USB to ethernet device) and load up the .prg or .d64 into the 128 manually as usual with the cart. I was using the feature this past weekend and it works great.
|
|
|
Post by hydrophilic on Oct 22, 2015 14:51:02 GMT
Cool, can you tell us more about the USB to Ethernet feature? I'm guessing the Ultimate-II has a USB port, and you use that... or is it a separate USB interface? And what kind of USB-to-Ethernet device works for you?
[edit] I really hope for more details... I have been looking for 1541 Ultimate-I because it supports RR-NET... but I have not yet found one! I also understand Ultimate-II does not support RR-Net (bad info?). Thus I was pleasantly surprised to hear about your solution (I think I can buy an Ultimate-II pretty easy). I would be glad to buy U-II, but only if I knew there is was a reliable way to connect to Ethernet (and thus, with software, FTP, HTTP, etc.).
So just saying, would really love to know more about the U-II > USB > Ethernet option you describe.... thanks! [/edit]
|
|
|
Post by cbmguy on Oct 24, 2015 17:57:29 GMT
Well, so far (and I'm talking about 30-45 minutes with the kit), there is no rr-net type functionality. The U-II is basically an ftp server which you pass files to. Then you can access them on the c= side through the cartridge menu. I haven't gotten into it too much, but hope to in the next week. I know there's a way (it's documented) to directly access the cartridge and the data in it without the cartridge menu being active--I just haven't gotten that far yet.
ATM, I use a powered USB hub plugged into the U-II. I have the USB to ethernet plugged into the hub (purchased from Gideon) which is then plugged into my var11n bridge via ethernet for WPA2 wireless--again, the power for the bridge is coming from the usb hub. Finally, I have a usb thumb drive plugged into the hub, which is accessible to U-II all at the same time. I have one USB slot left on my hub. I wish I could take a picture and up it here because the picture is very simple and not nearly has complicated as it all sounds written out.
I use my old TFE for telnet and BBSing--the ethernet port is connected to the var11n bridge and it's all secure and wireless.
|
|
|
Post by hydrophilic on Oct 28, 2015 8:49:54 GMT
Thanks for info... it sounds like FTP functionality is built into the U-II cart... hopefully there is a way to access the lower-level (ethernet packet) routines so that arbitrary protocols like UDP/TCP can be implemented in software. (Even better if there was firmware support.)
So I guess my remaining question is, can you provide a link to the USB->Ethernet adapter? I'm guessing you got it from Gideon (your post was not clear if you got the Ethernet adapter or the USB hub from Gideon).
Thanks for verifying there is no RR-Net support with Ultimate-II.
[edit] Have you tried setting up an FTP server on your PC? Would that allow you download files onto your Commie? If so, that sounds like a great solution... just have your cross assembler output to the FTP folder, and then you can download the BIN file to your Commie?! [/edit]
|
|
|
Post by cbmguy on Nov 2, 2015 21:20:03 GMT
So I guess my remaining question is, can you provide a link to the USB->Ethernet adapter? I'm guessing you got it from Gideon (your post was not clear if you got the Ethernet adapter or the USB hub from Gideon). .... [edit]
Have you tried setting up an FTP server on your PC? Would that allow you download files onto your Commie? If so, that sounds like a great solution... just have your cross assembler output to the FTP folder, and then you can download the BIN file to your Commie?! [/edit]A USB->Ethernet adapter can be seen here on Ebay for $2.27US. Mine came from Gideon. I use mine with a powered hub and is a USB 2.0--the speed is no different between 1.0 and 2.0 in this case, IMHO. It works fine without the powered hub, as well from what I'm told. With the powered hub, I feel like I'm saving a little bit of wear'n'tear on my aging C128 power supply.
|
|