Results 1 to 9 of 9

Thread: Can anyone help with a Commodore 64/128 Question?

  1. #1
    Alex (Level 15)
    Join Date
    Mar 2003
    Location
    Providence RI
    Posts
    7,099
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    SoulBlazer07

    Default Can anyone help with a Commodore 64/128 Question?

    I had a Commodore 64/128 back in the day and had a lot of great games for it. One game I recently got again and have been playing in WinVICE (the best Commodore emulator out there) is really tough. Please note, the game is ONLY for the Commodore 128, although the syntax I give below may work for the 64 as well.

    There's a 'hidden' hint file on the disc. I found the file and I have directions from the game on how to run it. (The file name is ROSEBUD. Original, huh? :P )

    Only I've long since lost access to a ACTUALL system, and I can't get the simple program to work -- so I can't read the hint file.

    Here is the program we're susposed to run to display it on screen:

    10 f$="rosebud"
    20 open8,8,8,(f$):do:get#8,a$rinta$;
    loop until st:close8
    RUN

    When I try to RUN it, I can see the disc light come on but then the computer says 'syntax error in line 20' which means something is wrong.

    Damn frustrating also, because I KNOW i have that written down right from the instructions. :/

    I know Flack and some other people on here were BIG C64/128 users also back in the day and that someone can help me out.

    Or is there another way to view the file using a command of WinVICE or something in Windows, perhaps? The hint file is just one file that is part of the .D64 image.

    Thanks in advance!
    "Four o'clock and all is well.....wish I was in bed, Sir."
    -- Guard in the Imperial City, Oblivion

  2. #2
    Pac-Man (Level 10) icbrkr's Avatar
    Join Date
    Jul 2002
    Location
    www.amigacd32.com
    Posts
    2,322
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    icbrkr

    Default Re: Can anyone help with a Commodore 64/128 Question?

    Quote Originally Posted by SoulBlazer
    Here is the program we're susposed to run to display it on screen:

    10 f$="rosebud"
    20 open8,8,8,(f$):do:get#8,a$rinta$;
    loop until st:close8
    RUN
    Unless you're using that in C128 mode, it will not work. C64's BASIC doesn't understand do/loops. You're also missing a ":" between print a$; and loop (the ";" states to print on one line instead of line breaking). You can break it up further to find out exactly where the error is:

    10 F$="rosebud"
    20 open 8,8,8,(f$) (assuming it's drive #8)
    30 do
    40 get#8,a$
    50 print a$;
    60 loop until st (looping until the drive states it's EOF)
    70 close 8

    Really though, by the looks of all the program does is it reads a text file called "rosebud" and prints it to the screen - you should be able to use just about anything to do that.

    To do this in C64 mode, you should be able to do something as easy as this:

    10 open 15,8,15, "rosebud,s,r" (change the s to p if it's a program file)
    15 for x = 1 to 500
    20 get#15, a$
    30 print a$;
    40 next x

    it's not pretty, has no error checking, and doesn't close the channel to the drive when it's done, but it'll work.

  3. #3
    Ladd Spencer (Level 17) Captain Wrong's Avatar
    Join Date
    Jul 2002
    Location
    twiddle your ball sack Indiana
    Posts
    9,092
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    Captain Wrong
    PSN
    Captain Wrong

    Default

    Moving to "on topic" as I think you'll get more help there.

  4. #4
    Chaos Knight
    Mayhem's Avatar
    Join Date
    Jul 2002
    Location
    London, England
    Posts
    8,916
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    Mayhem64

    Default

    Icebkr answered it here... need to run it in 128 mode with the disk in the drive. Just doing a simple byte read and print from the file.

  5. #5
    Alex (Level 15)
    Join Date
    Mar 2003
    Location
    Providence RI
    Posts
    7,099
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    SoulBlazer07

    Default

    Okay, guys.....bear with me, because like I said, it's been over 10 years since I actually HAD a Commodore.

    Yes, I know the insturctions will only work in 128 mode -- I was running in that.

    And the 'rosebud' file is a program -- PRG format -- and not a text file.

    So it looks like the instructions given with the game to read the file all those years ago was messed -- with the small change made to the instructions provided by the kind soul above, I got it to display on screen. Some of the charcters were missing, but enough of it was readable to be able to help.

    Boy, this reminds me of what a PAIN the C64/128 was to do anything with in BASIC mode -- and how I ever learned it as a kid! :P
    "Four o'clock and all is well.....wish I was in bed, Sir."
    -- Guard in the Imperial City, Oblivion

  6. #6
    Flawless Rawkality Flack's Avatar
    Join Date
    Aug 2003
    Location
    OKC, OK
    Posts
    14,273
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    4
    Thanked in
    3 Posts

    Default

    What program is it?

  7. #7
    Alex (Level 15)
    Join Date
    Mar 2003
    Location
    Providence RI
    Posts
    7,099
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    SoulBlazer07

    Default

    Heh, I'm glad you asked Flack, because I was going to send both you and Mayhem a PM in a bit.

    The game that inspired me to ask this question was a text adventure game called Wreck of the Coprinicus, which came on a magazine by disc called LOADSTAR 128. This perticular one was on Issue 5, back in 1989.

    Have you heard of LOADSTAR? They have been publishing a Commodore 64 magazine on disc since 1984 -- and they are STILL around and offering it, either on 1541/1581 disc or in emulator format. (The 128 spin off only lasted about four years).

    As a kid, I was in love with the magazine, and had a subscription for it from 1987 to 1994. Every month four discs would come loaded with programs, articles, games, help files, graphic and music programs, and the like.

    As a matter of fact, I JUST got in the mail yesterday a CD I ordered that has 250 LOADSTAR 64 and 128 issues on it (all in .D64 and .D81 format) and a bunch of other cool stuff. You can find more info here:

    http://www.ramblehouse.com/loadstarcompleat.htm

    That site is run by Fender Tucker, the long time person in charge of LOADSTAR. (Now run by a friend of his Dave Moorman, who I am talking to by e-mail). He even signed the CD's.

    Anyway, the reason I was going to send a PM was that due to a mailing error I got TWO CD's and I was told by Fender I could keep the other one. I was going to offer the CD at a reduced rate and figured that since both of you were Commodore users you would be quite good to ask. (And especily Mayhem since he's British and it was VERY expensive to ship over there back in the day).

    Last night I fired the CD up with WinVICE and was poking through some long last games of my youth when I found this damn game. :P

    Anyway, if anyone is interested in my duplicate CD, please send me a PM -- I figure $20 total is a fair price. I can PROMISE you that there is a TON of stuff on here -- over 20 years worth of programs!
    "Four o'clock and all is well.....wish I was in bed, Sir."
    -- Guard in the Imperial City, Oblivion

  8. #8
    Flawless Rawkality Flack's Avatar
    Join Date
    Aug 2003
    Location
    OKC, OK
    Posts
    14,273
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    4
    Thanked in
    3 Posts

    Default

    Yeah, I'd take the CD. I remember Loadstar but I didn't buy too many of them back in the day. I was wondering what game it was because I have never heard of anything like that. I checked GB64 and they don't even have that game listed, although since it came in Loadstar that kind of makes sense.

  9. #9
    Alex (Level 15)
    Join Date
    Mar 2003
    Location
    Providence RI
    Posts
    7,099
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Xbox LIVE
    SoulBlazer07

    Default

    Well, I know today is your big day Flack -- hope it goes well! -- but shoot me a PM when you cand we'll work out the details.

    The current rate for LOADSTAR is pretty good -- about $10 a issue in emulator format and $15 for disc. The publishing has slipped to one issue every six weeks in the last few years (Dave took over in 2001 after issue 199, which is where the CD stops at) but he's commited to publishing it for another year at least. It's currently around issue 245. Dave also sells a CD with the other issues in between.

    Yeah, LOADSTAR was mostly a 'submit program, get it aproved, and published on the next issue and get paid a royality' system. They DID have a few commerical games -- Expedition Amazon comes to mind, which I downloaded a few months ago -- but mostly it was just author based programs, although Fender and some others in house did write some stuff.

    I mostly got LOADSTAR 128 because the 128 side of the computer was often ignored.....it was so nice to get Wreck of the Coperincius and a few other games that NEEDED 128 mode. (a few other games that come to mind are Questor, a FPS-like game and Epic, a Ultima style RPG).

    It amazes me that support for the old Commodore is still around.
    "Four o'clock and all is well.....wish I was in bed, Sir."
    -- Guard in the Imperial City, Oblivion

Similar Threads

  1. um.. question about rarity on commodore 64
    By murdoc rose in forum Collector Guides and Rarity Database
    Replies: 2
    Last Post: 01-25-2008, 11:21 AM
  2. Commodore 64 parts question.
    By Atari 5200 in forum Classic Gaming
    Replies: 11
    Last Post: 05-06-2006, 10:01 PM
  3. Commodore 64 question
    By Blue60 in forum Collector Guides and Rarity Database
    Replies: 4
    Last Post: 06-26-2005, 01:28 PM
  4. Question(s) About Commodore 64
    By Gapporin in forum Classic Gaming
    Replies: 7
    Last Post: 01-29-2005, 06:28 PM
  5. Commodore 64 Question
    By Nature Boy in forum Classic Gaming
    Replies: 4
    Last Post: 07-07-2003, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •