|
Post by jonnypencils on Mar 13, 2020 8:50:48 GMT
Hi all, this feels like it should be achievable but I haven't managed to find anybody talking about it.
One of the things I love doing on my original breadbin is connecting to BBS's around the world using the WiFi Modem.
Has anybody had any success using THEC64 to do this? A USB wifi stick with some code hacking doesn't seem out of the realms of possibility but like I say, can't find any mention of it anywhere.
So I guess questions are a) is it possible, b) anybody done it, c) anybody interested enough to help me do it!
Thanks. JP.
|
|
|
Post by spannernick on Mar 16, 2020 17:49:05 GMT
No,the driver would need to be put in THEC64 Maxi's kernal and you can't just add one, same problem with the Mini.
|
|
|
Post by jj0 on Mar 16, 2020 19:31:25 GMT
No,the driver would need to be put in THEC64 Maxi's kernal and you can't just add one, same problem with the Mini. Well, there might be a (difficult) way around this, by adapting fusys's tool to pokpeek/poke the C64's memory to fool it into thinking it has a modem attached. Or to communicate directly witith the particular BBS program on the C64. But definitely not easy.
|
|
fusys
Creatures
Posts: 18
|
Post by fusys on Mar 16, 2020 22:43:46 GMT
Also, consider that I'm not able yet to PEEK/POKE all the memory space since it appears to be scattered around in VICE process map. But definitely it would be a cool thing to do... I hope to have time in the near future to try it
|
|
|
Post by jonnypencils on Mar 17, 2020 9:24:16 GMT
OK thanks all - That tool does look intriguing - and thanks to fusys for providing the source code - I guess this does show the limitations of TheC64 compared with, say, Ultimate 64, or original hardware, but hey - horses for courses I guess. Thanks again for replies.
|
|
|
Post by joehelton on Jun 9, 2020 14:20:29 GMT
I agree 100%. The ability to access the internet or a BBS would be a HUGE win for me!
Joe
|
|
|
Post by $4BCF on Oct 17, 2021 11:44:57 GMT
So is this a thing yet? I was so disappointed to find that I cannot jack into any BBS. Can we not TTY into the core OS to inject kernel modules? I thought you could do that with an UART. Is anyone working on this at all? My modems are just sitting here waiting. I was going to revive my old BBS but I'd rather do it with a THEC64 instead of a Pi4.
|
|
|
Post by c64stuff on Oct 17, 2021 13:47:38 GMT
I think they've said you can launch a full version of Vice in Project Carousel that gives you access to wifi modems, a mouse, etc.
I wrote a C64 BBS system back in the day using a hybrid of basic and machine language, along with custom terminal software for the user to access the BBS because I was using color, font changes, etc before that stuff was supported by standardized BBS software.
My idea to get around the restraints of the stock The C64 vice emulator would be to replace the stock Commodore 64 Kernal with one that would intercept any modem input/output commands of BBS software and send it to the "disk drive" The C64 emulates through USB storage as some kind of funky obscure disk drive command the C64 rarely uses, such as compare files. Actually it wouldn't need to be even that. It could simply be a sequential file open and write command with the file name being something funky you'd probably never see in a normal text file name.
Plugged into the USB would be a Raspberry Pi running perhaps a modified version of the 1541 Pi software, modified to be watching for that special serial file open and write name. It would then redirect the text to be written to the file as output to a wifi acting as a wifi modem.
On the receiving end of things the C64 Kernal would be modified to redirect any requests from the BBS software for modem input by attempting to open and read another specially named sequential text file. If the file doesn't exist yet because nothing has been received it would simply reattempt.
I'm sure there's a cleaner and faster way to do all this rather than opening a sequential text file for back and fourth communication. Perhaps one of the funky disk drive commands like checking status of a drive error could be used. The main need would be being able to send and receive a string of characters for input and output that the stock 1541 drive software recognizes and supoorts as a valid command and the version of Vice TheC64 would naturally support in emulating a 1541 disk drive.
I'm probably missing something here and didn't think this all out but I bet there's some way to do wifi modem support by modifying the stock Commodore 64 kernal that Would trick Vice to do something it's supports in disk drive communication and use a Pi plugged in to the USB to intercept and process it as wifi modem communication. Perhaps even modifying the kernal's input output modem requests to direct them to the tape drive which I would guess The C64 Vice supports?
|
|
|
Post by $4BCF on Oct 31, 2021 16:46:27 GMT
So when I run Linux Mode, I clearly see my USB Ethernet adapter and my Serial>USB adapter as well yet I don't see an eth0 or a /dev/ttyUSB0. "dmesg|grep tty" only shows ttys0.
Do I need to physically mod an UART interface onto the board to get to the core linux that runs on this thing or is there another way?
Vice Mode can access serial TTY, has anyone been able to get /dev/ttyUSB0 populated? Also why is there a firefox browser in the Linux Mode image if there is no network manager to set up a device?
Ugh I've been messing around with this for 2 days and every turn I make there is another wall. Would someone please point me in the right direction?
|
|
|
Post by jj0 on Nov 1, 2021 12:16:06 GMT
So when I run Linux Mode, I clearly see my USB Ethernet adapter and my Serial>USB adapter as well yet I don't see an eth0 or a /dev/ttyUSB0. "dmesg|grep tty" only shows ttys0. Do I need to physically mod an UART interface onto the board to get to the core linux that runs on this thing or is there another way? Vice Mode can access serial TTY, has anyone been able to get /dev/ttyUSB0 populated? Also why is there a firefox browser in the Linux Mode image if there is no network manager to set up a device? Ugh I've been messing around with this for 2 days and every turn I make there is another wall. Would someone please point me in the right direction? This thread might help - the Mini/Maxi's kernels do not have support for USB serial drivers built in.
|
|