Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore Emulation » C= userport rs232 ml guru needed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
C= userport rs232 ml guru needed [message #142104] Wed, 15 March 2006 01:45 Go to next message
path0s is currently offline  path0s
Messages: 93
Registered: July 2003
Karma: 0
Member
Now... Getting back into what most of us are here for.. Doing stuff with CBM
machines.. Instead of all this moronic faggotry and flamers personal
desires..

With that said..

I need to get in touch with someone who's done userport rs232 on the 64/128
in ml. I've got a terminal program here (and sources in LADS format) that I
need to convert from using the transactor rs232 routines (or something very
close to them) to the normal built in C= ml routines (or something
compatible with both the real C64 and VICE's rs232 emulation).

Alternatively, I suppose you could fix VICE's userport rs232 emulation to be
a little more exact, but I'm guessing the C= ml might be a little easier for
most of you.. :) The current software works fine on a real C64.

This is part of a larger BBS project that probably none of you have ever
logged into before. It took me close to 10 years to track this software
down! Anyway, full credit will be given for the help and whatnot.. Reply
here with how to get a hold of you, or find me on irc.newnet.net
(#c64friends) or on irc.efnet.net (#c-64)

Thanks!
-Path0s
Re: C= userport rs232 ml guru needed [message #142107 is a reply to message #142104] Thu, 16 March 2006 17:52 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
"It took me close to 10 years to track this software down!"


My God, man!

The dedication!

The stamina!

The perseverance!

INSANITY!


So, er ah.. What do you plan on _doing_ with it?
Re: C= userport rs232 ml guru needed [message #142109 is a reply to message #142107] Sat, 18 March 2006 16:37 Go to previous messageGo to next message
path0s is currently offline  path0s
Messages: 93
Registered: July 2003
Karma: 0
Member
The terminal I'm referring to is not just a simple terminal program, it's
called Musicterm. It's the client terminal for SpiceWare/SpiceNet BBS. The
terminal does many different things while online to a SpiceNet BBS, such as
play full 3 voice music at prompt, in messages, etc. It can also use the
joystick for online games, download redefined and animated character sets
from the BBS and use them instead of the default, download sprites from the
BBS and use them while online and probably a few other things I'm forgetting
right now.

So to answer your question, what I plan on doing is releasing all the source
to both the client and the bbs software as well as a ready to run vanilla
bbs setup to the public. There's a few things I'd like to do first though.
One of them being at least to get the client to run in VICE with it's rs232
emulation. Something else I'd like to do is that right now all the BBS
configs and stuff has to be modified inside the basic code, there's no
simple easy configuration program. I plan on writing a little basic proggy
that will write a config file to disk for the BBS and have the BBS read it
in for it's config. That shouldn't be much of a problem and I can do that
myself, but the rs232 routines are in ml, and a different story.

The BBS and terminal software really is a nice piece of work, I used to call
from Illinois down to Texas (where there were probably about 15-20 boards
setup running SpiceNet) and rack up huge LD charges, which really made my
parents happy heh..

Anyway, that's the scoop.
-P

"christianlott1" <christianlott1@yahoo.com> wrote in message
news:1142549574.013451.11130@i39g2000cwa.googlegroups.com...
> So, er ah.. What do you plan on _doing_ with it?
>
Re: C= userport rs232 ml guru needed [message #142111 is a reply to message #142109] Sun, 19 March 2006 02:13 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
path0s wrote:
> The terminal I'm referring to is not just a simple terminal program, it's
> called Musicterm. It's the client terminal for SpiceWare/SpiceNet BBS. The
> terminal does many different things while online to a SpiceNet BBS, such as
> play full 3 voice music at prompt, in messages, etc. It can also use the
> joystick for online games, download redefined and animated character sets
> from the BBS and use them instead of the default, download sprites from the
> BBS and use them while online and probably a few other things I'm forgetting
> right now.


Many features.




> So to answer your question, what I plan on doing is releasing all the source
> to both the client and the bbs software as well as a ready to run vanilla
> bbs setup to the public. There's a few things I'd like to do first though.
> One of them being at least to get the client to run in VICE with it's rs232
> emulation. Something else I'd like to do is that right now all the BBS
> configs and stuff has to be modified inside the basic code, there's no
> simple easy configuration program. I plan on writing a little basic proggy
> that will write a config file to disk for the BBS and have the BBS read it
> in for it's config. That shouldn't be much of a problem and I can do that
> myself, but the rs232 routines are in ml, and a different story.

So release the source and let someone around here take a shot at the
rs232 routines.

Why did you post this in comp.emu.cbm though?

The rs232 routines are explained in many books, some available online.

Oh, I see now. You've attempted using it in VICE and it doesn't work,
though it works on a real 64.

Wouldn't fixing VICE be the better solution?



> The BBS and terminal software really is a nice piece of work, I used to call
> from Illinois down to Texas (where there were probably about 15-20 boards
> setup running SpiceNet) and rack up huge LD charges, which really made my
> parents happy heh..


I'm guessing your plan is to use VICE in warp mode as the server?

My only thought on this is something previously explored partly by Xlar
and partly by Brain -

If you want fast access using VICE-VICE you can :

1. Use a modern database and server to the client side c64 program.
Since you have the source you have all the codes for the client/server
relationship.

2. As stated previously, make sure VICE's rs232 port responds
correctly, and if not correct it.

3. Use a TableAdapter to bind into the 64's memory space, thereby
linking it to the server database. Your BBS will in effect be the
client of the server. You will have increased the 64's working memory
arbitrarily.

So the programs (client, server, game, whatever) on the 64 are simply
form controls viewing your 6GB database.


> Anyway, that's the scoop.
> -P

Neat stuff.


Christian


>
> "christianlott1" <christianlott1@yahoo.com> wrote in message
> news:1142549574.013451.11130@i39g2000cwa.googlegroups.com...
>> So, er ah.. What do you plan on _doing_ with it?
>>
Re: C= userport rs232 ml guru needed [message #142112 is a reply to message #142111] Sun, 19 March 2006 02:17 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
Just noticed this was cross posted..
Re: C= userport rs232 ml guru needed [message #142113 is a reply to message #142112] Sun, 19 March 2006 02:55 Go to previous messageGo to next message
path0s is currently offline  path0s
Messages: 93
Registered: July 2003
Karma: 0
Member
Yes, I was kind of hoping someone from the VICE team would respond about
looking into the rs232 stuff in VICE.. But I'm sure they probably have
bigger fish to fry.

-P

"christianlott1" <christianlott1@yahoo.com> wrote in message
news:1142752651.222293.306590@e56g2000cwe.googlegroups.com...
> Just noticed this was cross posted..
>
Re: C= userport rs232 ml guru needed [message #142114 is a reply to message #142111] Sun, 19 March 2006 03:21 Go to previous messageGo to next message
path0s is currently offline  path0s
Messages: 93
Registered: July 2003
Karma: 0
Member
<christianlott1@yahoo.com> wrote in message
news:1142752405.593675.295460@j33g2000cwa.googlegroups.com...

> So release the source and let someone around here take a shot at the
> rs232 routines.

I had thought about that, but I'd like for the terminal to work in VICE
before I release the source to it. So there's not 20 different versions of
it floating around right off the bat. Which is why I posted this here. If
someone would like to work with me privately on it so it, I can get them the
source, it can get fixed, and then I can release everything.

> Why did you post this in comp.emu.cbm though?

So hopefully someone from the VICE team would like to discuss the rs232
probs in VICE. I sent them an email about it quite a while ago but never
heard anything back :(

> Oh, I see now. You've attempted using it in VICE and it doesn't work,
> though it works on a real 64.

Correct.

> Wouldn't fixing VICE be the better solution?

Yes. See above.

> I'm guessing your plan is to use VICE in warp mode as the server?

Well, not at this point.. My only concern right now is fixing the terminal
program. Not anything with the BBS.

> 2. As stated previously, make sure VICE's rs232 port responds
> correctly, and if not correct it.

Are you volunteering to fix VICE? I'm definitely no C coder (or ml coder
either).

-P
Re: C= userport rs232 ml guru needed [message #142115 is a reply to message #142114] Sun, 19 March 2006 04:01 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
I've been snubbed by Andreas also. Understandably, he probably thinks
if we're so smart we should be able to implement whatever we put our
mind to..

The problem with converting the rs232 routines in the 64 program - it
may break something else.

Same goes for Vice, however - it's supposed to emulate correctly.

Are you sure it's Vice's bug though? Are you sure the BBS is working
correctly on real hardware?

I've never tried this, but is it possible to compile x64 as a DLL? This
way we could automate Vice. Bypass the rs232 completely (at least on
Vice).


Christian
Re: C= userport rs232 ml guru needed [message #142116 is a reply to message #142115] Sun, 19 March 2006 15:18 Go to previous messageGo to next message
iAN CooG is currently offline  iAN CooG
Messages: 613
Registered: April 2012
Karma: 0
Senior Member
christianlott1 <christianlott1@yahoo.com> wrote:

> I've never tried this, but is it possible to compile x64 as a DLL?

LOL, why and what for?

--
-=[]=--- iAN CooG/HokutoForce ---=[]=-
Eat shit! 50 million flies can't be wrong .. :)
Re: C= userport rs232 ml guru needed [message #142117 is a reply to message #142116] Sun, 19 March 2006 17:58 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
iAN CooG wrote:
> christianlott1 <christianlott1@yahoo.com> wrote:
>
>> I've never tried this, but is it possible to compile x64 as a DLL?
>
> LOL, why and what for?




To control the functions without adding extra features to an already
bloated app.

Overlap memory spaces.

Expose functions and variables.


Fuctionality through (between) operating systems, the 64 and the OS
(Windows).

Automation between programs and operating systems.

Setup a monitor program on the PC, conditionally triggering external
operations through direct memory locations within 64 memory space - and
not having to learn some arcane protocol, such as rs232 (not saying
that's a bad thing, just more difficult than need be for some).

Sure it's a VM in it's own right but it's language and processor
restricted right now.

Concurrent programming.

VICE .NET, dude.

(This'll cover that silly Purebasic compatability argument.)

The 6510 emulator can execute a lot faster when it isn't hitched to
things it isn't using - the VIC, SID, CIA (IVC SDI ICA).

Add functionality to the chips. Link on the register level.

The chips can execute faster not tied to a processor it's not using.

Self contained C64/Vice applications.


Christian Lott/..Accum[en]U-Later!


>
> --
> -=[]=--- iAN CooG/HokutoForce ---=[]=-
> Eat shit! 50 million flies can't be wrong .. :)
Re: C= userport rs232 ml guru needed [message #142118 is a reply to message #142117] Sun, 19 March 2006 22:31 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
Specifically - C64 Legacy of the Ancients Online.
Re: C= userport rs232 ml guru needed [message #142120 is a reply to message #142116] Mon, 20 March 2006 01:18 Go to previous messageGo to next message
path0s is currently offline  path0s
Messages: 93
Registered: July 2003
Karma: 0
Member
Yeah, good question.. None of this has anything at all to do with simply
converting a terminal program over to use stock rs232 routines..

-P

"iAN CooG" <iancoog@despammed.com> wrote in message
news:60jTf.40746$A83.1115900@twister1.libero.it...
> christianlott1 <christianlott1@yahoo.com> wrote:
>
>> I've never tried this, but is it possible to compile x64 as a DLL?
>
> LOL, why and what for?
>
> --
> -=[]=--- iAN CooG/HokutoForce ---=[]=-
> Eat shit! 50 million flies can't be wrong .. :)
>
>
Re: C= userport rs232 ml guru needed [message #142122 is a reply to message #142120] Mon, 20 March 2006 15:17 Go to previous messageGo to next message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
path0s wrote:
> Yeah, good question.. None of this has anything at all to do with simply
> converting a terminal program over to use stock rs232 routines..

Well, if you put the code up maybe someone could have a look at it.

If you want to DIY:

http://www.unusedino.de/ec64/technical/project64/mapping_c64 .html

RS-232
baud rate 659, 661, 665
baud rate tables 58604, 65218
buffers 247, 249
command register 660
connector pin assignments 56576, 56577
control register 659
duplex mode 660
handshaking protocol 660
Kernal ROM routines 57344-65535
parity 660
status register 663
stop bits 659
word length 659
Re: C= userport rs232 ml guru needed [message #142123 is a reply to message #142122] Tue, 21 March 2006 13:59 Go to previous message
christianlott1 is currently offline  christianlott1
Messages: 1852
Registered: January 2012
Karma: 0
Senior Member
Are you sure you've set up the rs232 user port setting correctly in
VICE?

How extensive is the rs232 code in your program? Is it spread
throughout the program or is it relatively short?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: YOUR PROGRAM IS SHIT!!!
Next Topic: Comprehensive Commodore Emulator update (v4.2.1)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 23 14:17:25 EDT 2024

Total time taken to generate the page: 0.12257 seconds