Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user tomek ! (Registered 2024-11-24) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > reviving the real thing
2008-04-23 11:43
Oswald

Registered: Apr 2002
Posts: 5086
reviving the real thing

just heard that the atarians have a solution to control their machines fully from a pc: disks/keyboard/joystick/etc. I find that approach extremely useful and cool :) maybe it will be possible with 1541ultimate?
2008-04-23 12:14
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: just heard that the atarians have a solution to control their machines fully from a pc: disks/keyboard/joystick/etc. I find that approach extremely useful and cool :) maybe it will be possible with 1541ultimate?

I bought and constructed HW to control the keyboard from PC, but never bothered coding the PIC.. ;D I also bought a tv-card to grab the output. My intention was to integrate a real C64 into a PC so that I could run the real thing inside a window. But then I got bored and codenet came so....
2008-04-23 13:21
Oswald

Registered: Apr 2002
Posts: 5086
maybe through the usb port you could controll everything, together with a small asm client on the c64 side? the major difference to codenet, that now you can assemble whole disksides on pc and test on the real thing like a breeze.
2008-04-23 14:11
chatGPZ

Registered: Dec 2001
Posts: 11351
you can do something like this.... with PDS, from 20 years ago :) or any other of the various solutions =P

(really, what exactly do you want to do?)
2008-04-23 14:15
Burglar

Registered: Dec 2004
Posts: 1085
kinda hard to do that with a 1541u, as you cant connect to it from PC over network or anything....
2008-04-23 14:20
Oswald

Registered: Apr 2002
Posts: 5086
control what disk image is seen by the c64 in u1541, control the keyboard/joy of the c64 from pc, reset the c64 from pc. using the c64 as an "emulator" from pc, or kind of using the c64 as whats VNC is supposed to do :) so you can spare having two keyboards, maybe even two display (see jackasser's comment)
2008-04-23 14:54
Devia

Registered: Oct 2004
Posts: 401
A bit hard to command the c64 to reset remotely with no regard to its current state.. That would require some MCU, an ethernet chip or similar connectivity device, a bit of wiring and a bit of coding.
Like JackAsser I also once started making some shit based on a PIC and an EDTP ethernet board.. but got bored as I got rr-net and later codenet ;-)

With codenet you can just set up an NMI rout that does something like:
	lda	#$37
	sta	$01
	lda	#$18		;Select Bank 3
	sta	$de00		;in the Retro Replay
	jsr	$ff81
	jmp	$9800		;Jump to CodeNet

..and handle the interrupt to fit your needs, and you'll be back at CodeNet ready for your next piece of code at the touch of RESTORE

Maybe if the 1541u ever gets open-sourced you could modify it to fit your remote control needs.. That remains to be seen, I guess.
2008-04-23 15:15
chatGPZ

Registered: Dec 2001
Posts: 11351
Quote:

control what disk image is seen by the c64 in u1541, control the keyboard/joy of the c64 from pc, reset the c64 from pc. using the c64 as an "emulator" from pc, or kind of using the c64 as whats VNC is supposed to do :) so you can spare having two keyboards, maybe even two display (see jackasser's comment)


that'd require quite some hardware effort ... (and some things, like keeping the whole machine in a freeze state still wouldnt work, making things like single-stepping impossible)

to achive something like that, using a reimplementation in fpga is a much better idea, imho (and peters core is coming to a state where it beats accuracy of all existing emus...so its not that far fetched either).
2008-04-23 15:30
Oswald

Registered: Apr 2002
Posts: 5086
you're totally (and intentionally) missing the point. I did write emulator with quotation marks with a reason. everyone understood what this would be about except you (deliberately I guess), asking for even more descriptions, finally finding the word "emulator", and taking it literally for some nitpicking.

also adding some stupid boasting that this was done already 20 years ago and there are various solutions. show me the various solutions where you can swap disk images in a virtual drive which works 99% like the original + keyboard + joy control. bullshit.
2008-04-23 15:43
chatGPZ

Registered: Dec 2001
Posts: 11351
i totally understand what you want, and all i am saying is that it would require a quite massive hardware effort (interface to various places on the c64 board, usb to controll it all etc) - and it would STILL be missing a lot of the features that you can see in "real" hardware based development kits. for example to make this somewhat useful you would need all the mentioned interfacing for the diskdrive as well. you would need a lot of logic and effort to sync the whole bunch.

unless ofcourse, you dont care for features like proper freezing or singlestepping - but then the whole thing sounds even less useful to me. if all you want is a c64 inside the pc, with no further advantages - go ahead, you can probably built this in an evening or two using an avr or whatever you favor.
2008-04-23 15:46
hollowman

Registered: Dec 2001
Posts: 474
What good for development is swapping disk image remotely if you cant change the content of the image remotely?
2008-04-23 15:50
chatGPZ

Registered: Dec 2001
Posts: 11351
i guess one implies the other, no?
2008-04-23 16:11
Oswald

Registered: Apr 2002
Posts: 5086
Groepaz, I dont think when one wants to control a c64&a virtual drive remotely with a pc, it is crucial to implement a singlestepping debug mode aswell to have it "somewhat useful".

Being able to feed the real thing with disk images, with a few clicks downloaded from the internet, 3 seconds before, is useful enough for me already.
2008-04-23 16:11
hollowman

Registered: Dec 2001
Posts: 474
Quoting Groepaz

i guess one implies the other, no?

Ah, its another "everyone understood what this would be about except you"-things again. Very well then ;)
2008-04-23 16:25
chatGPZ

Registered: Dec 2001
Posts: 11351
Quote:

Groepaz, I dont think when one wants to control a c64&a virtual drive remotely with a pc, it is crucial to implement a singlestepping debug mode aswell to have it "somewhat useful".

well for me, it would be. i dont see moving my c64 from one box into the other as an improvement. (unless it'd mean moving it into my laptop case =P)
2008-04-23 16:28
Oswald

Registered: Apr 2002
Posts: 5086
indeed, what I am proposing here is to move the c64 from one box into another. mission accomplished: thread destroyed.
2008-04-23 17:03
chatGPZ

Registered: Dec 2001
Posts: 11351
whatever suits your trolling needs....
2008-04-23 17:46
Devia

Registered: Oct 2004
Posts: 401
Having the 1541u + rr-net connected at the same time, you could in theory create a new CodeNet that would allow you to transfer both code to the c64 as well as disk images to the 1541u.. - and since the reset and freeze buttons on 1541u are both routed through the FPGA as I have understood it, an option for software initiated hardware reset could be implemented if the author can be persuaded. This along with an option for UltiMax mode bootup would yield some pretty interesting possibilities I guess.
Of course this is all speculation and the 1541u doesn't currently carry any of these features as I have understood it.
Maybe even some pseudo sort-of singlestepping could be implemented this way by saving stuff/resetting/ultimax booting/loading stuff/executing/re-entering singlestep freeze mode.. a bit cumbersome, but theoretically doable, unless I'm overlooking something ;-) ..hmm it would probably not yield any better results than simple breakpoint-style stepping, though ;-)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Gregfeel/Lepsi De, S..
Epyx/TSA
astaroth/TRSI
Barfly/Extend
The Syndrom/TIA/Pret..
psych
Mojzesh/TGR🇬🇧
Tom-Cat/Nostalgia
Linus/MSL
TLF/Sonic Uproar
Airwolf/F4CG
Weetibix
GeirS
Krill/Plush
VanessaE/Digital Aud..
Case/Padua
iAN CooG/HVSC
theK/ATL
Ghostrider/No Name
hoeppie
Brittle/Dentifrice^(?)
mutetus/Ald ^ Ons
ibux/Artline Designs..
leonofsgr/Singular C..
Core/VPN
mankeli/Extend
Guests online: 144
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Halloweed 4 - Blow Y..  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Comaland 100%  (9.6)
10 Fishbomb  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.067 sec.