Search found 18 matches

by Vic40
Wed Feb 27, 2008 12:59 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

100 PRINT"{CLR}POKE44,26:POKE6656,0" Here you removed two commands to save for space, which clearly are not worth the trouble (also @Jeff:) I would keep NEW, as it correctly initialises the start of variables (45/46) before the LOAD commences. Second, the Right Thing(TM) to do is also kee...
by Vic40
Sun Feb 24, 2008 3:01 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

why you don't change row 110 to: 110 PRINT"{2 DOWN}LOAD"CHR$(34)"PART2"CHR$(34)","PEEK(186) Thanks - your code matches the code that Mike originally provided and does work. What happened was that I mis-typed it. But you are right the reason why the code below doesn't w...
by Vic40
Sat Feb 23, 2008 4:08 am
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

I was having problems getting the second part to load and adding the NEW seemed to be the only way to get it to load correctly. Having said that I have just removed the NEW and it now looks like I don't actually need it. However, the following program which now doesn't have the NEW also exhibits the...
by Vic40
Fri Feb 22, 2008 1:30 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Mike, On looking at my code a little closer I found that I had actually entered the following in which the "PEEK(186)" appears within the LOAD statement that is printed on the screen. 100 PRINT"{CLR}POKE44,26:POKE6656,0:NEW" 110 PRINT"{2 DOWN}LOAD"CHR$(34)"PART2&qu...
by Vic40
Thu Feb 21, 2008 2:50 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Thanks Mike. I will add the POKE 6656,0.

The NEW is probably only working as nothing has been loaded into this location yet - I've only tested this straight after starting a Vice session.

Will need to leave the "fix" for the PEEK(186) problem in if Vice cannot be trusted.
by Vic40
Wed Feb 20, 2008 1:30 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Thanks Mike this worked a treat. The only problem is that the NEW seems to revert the value in location 186(last used device) back to 1(at least in Vice anyway haven't tested yet on my Vic20). I ended up with the following code which "remembers" the value in location 186 in a convenient pl...
by Vic40
Mon Feb 18, 2008 5:31 pm
Forum: Programming
Topic: Safe page zero addresses
Replies: 4
Views: 2264

Thanks to both of you for the "pointers".

My program won't be using any tape/RS232 operations so I should be safe to use them.
by Vic40
Fri Feb 15, 2008 3:38 pm
Forum: Programming
Topic: Safe page zero addresses
Replies: 4
Views: 2264

Safe page zero addresses

By it's good to have the forum back - been a bit lost over the last week without being able to call upon help. Just wondering if there are any further page zero addresses that can safely be used apart from the two ($fb and $fd) which are listed as free in the Vic20 Programmers Reference Guide. I wil...
by Vic40
Fri Feb 15, 2008 3:24 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

For a multipart loader I often use this construction: 100 PRINT"{CLR}LOAD"CHR$(34)"PART 2"CHR$(34)","PEEK(186) 105 POKE631,19:POKE632,131:POKE198,2 The code 131 will place "LOAD{RETURN}RUN{RETURN}" in the keyboard buffer. You aren't required to place a RUN st...
by Vic40
Mon Feb 04, 2008 5:27 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Think it is going to have to be a multi-load after all. This topic from a few years ago seems to describe the next problem I have run into making the switch from +3K to +8K http://sleepingelephant.com/v-web/bulletin/bb/viewtopic.php?t=827 In it Anders provided a neat piece of code to move the progra...
by Vic40
Sun Feb 03, 2008 1:41 pm
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Thanks for the advice. The game will be mainly Basic with some MC as per the original. The next game I tried to write in the 80s was 100% MC but I never finished it (mainly due to the fact that I didn't have an assembler and was trying to write all the MC by hand). Perhaps that may be my next projec...
by Vic40
Sat Feb 02, 2008 3:45 am
Forum: Programming
Topic: Multi-Part Loader - Yes or No
Replies: 25
Views: 9518

Multi-Part Loader - Yes or No

Hi, I am in the process of re-writing the first serious game I programmed for my Vic20 in the 1980s. Without the original source and not that much free time at the moment progress is slow. Also the "re-learning" curve is probably a little steeper than I thought it would be. Anyway I have n...
by Vic40
Fri Feb 01, 2008 1:24 pm
Forum: Buy, Sell, and Trade
Topic: Commodore 1571 Disk Drive - went for
Replies: 1
Views: 1125

Commodore 1571 Disk Drive - went for £128 ebay.co.uk

Was watching this one on ebay - didn't bid but surprised that it went for that much. Especially as the seller wasn't 100% sure that it still works. What do you guys think ? http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=160201264273&ru=http%3A%2F%2Fsearch.ebay.co.uk%3A80%2Fsearch%2Fsea...
by Vic40
Fri Jan 18, 2008 1:36 pm
Forum: Emulation and Cross Development
Topic: Multi-Color Character Editor
Replies: 20
Views: 8902

I too am using this great tool. If you are taking requests then mine would be to make it a Multi-Multi Color Character Editor. I'm in the middle of designing large 3x3 graphics that are made up of 9 separate mulit-color characters. To be able to do this in one go would be useful. This requirement is...
by Vic40
Tue Jan 08, 2008 3:54 pm
Forum: Emulation and Cross Development
Topic: Multi-Color Character Editor
Replies: 20
Views: 8902

Thanks. This is real timely.

Like Will I was about to get the paper and pencils out but this will be a great help.

Thanks for sharing it.