Search the web
Sign In
New User? Sign Up
vzemu · The VZ color computer mailing list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
VARPTR & USR(X)   Message List  
Reply | Forward Message #5879 of 6694 |
Re: VARPTR & USR(X)

Ok, I figured out a way around not having VARPTR. If I know the start
address of the code and the string is on the first line I can figure
out the location. Just don't edit that line.

As for the input routine... the line buffer size would need to be
increased. Start of BASIC line input buffer = 79E8 Hex or (31208
Decimal) and is 64 bytes long. End of buffer is 7A27.
The start of the BASIC program is normally 7AE9.

Since I don't know what is in between those addresses, it might make
increasing the size where it's at difficult. If it had been right
before basic it would be easier. I could just bump the start address
of the basic program and make the buffer larger. The only alternative
is to move the start address up 256 bytes and put the buffer where the
start address was. That leaves 64 bytes of RAM unused.




Thu Aug 7, 2008 4:51 am

jdiffendaffer
Offline Offline
Send Email Send Email

Forward
Message #5879 of 6694 |
Expand Messages Author Sort by Date

Ok... the manual isn't the greatest so let me see if I have this right The program I'm porting uses the TRS-80 CoCo/MC-10 command CLS# to clear the screen to a...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 5, 2008
4:41 am

ARGH!! Don't even tell me I see a problem already. Easily fixed though....
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 5, 2008
4:49 am

Hi James, Firstly I would suggest that you install Steve Olney's Extended BASIC as it gives you most of the missing TRS80 commands including VARPTR and will ...
Leslie Milburn
cdb4w
Offline Send Email
Aug 5, 2008
7:45 am

I don't think the full extended basic is an option since I am trying to squeeze a program into 4K (it might be too large for that already). There is one...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 5, 2008
1:12 pm

Ok, I figured out a way around not having VARPTR. If I know the start address of the code and the string is on the first line I can figure out the location....
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 7, 2008
4:51 am

Hi James, I am in the process of scanning/uploading all of the Ve Zee Newsletters. I was going to let everyone know once all 12 issues were up but as I think ...
Leslie Milburn
cdb4w
Offline Send Email
Aug 8, 2008
8:15 am

That is very helpful, thank you! The string for VARPTR should be at 5983 ($175F) in the VZ ROM according to this... so I copied a ROM image from JVZ200, loaded...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 8, 2008
8:52 pm

The following commands are still missing from the hacked ROM file: RANDOM RESUME ON SYSTEM ERL ERR STRING$ MEM FRE$ POS CINT CSNG CDBL FIX I'll see about...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 8, 2008
9:08 pm

Well, I patched the rest of the commands in ROM and tested several of them. They seemed to work but I make no guarantees all were patched correctly (first...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 9, 2008
2:55 am

After looking at this page: http://personal.nbnet.nb.ca/mclays/level2.html FRE is not supposed to use $ so it's ok the way it is and it tests ok....
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 9, 2008
3:19 am

I used the BASIC program from the newsletter to verify that all the ROM patches had been made correctly. It looks to me like there is plenty of room in the...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 9, 2008
9:30 pm

Hi James, Do not forget that unfortunately we have token collision situations in the wonderful world of the VZ. And so some programs written for some flavours...
Leslie Milburn
cdb4w
Offline Send Email
Aug 10, 2008
4:28 am

Actually, this is something I wanted to do a couple years ago but didn't have the info. It was just easy once I read that article. These are just the commands...
James Diffendaffer
jdiffendaffer
Offline Send Email
Aug 10, 2008
5:37 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help