PDA

View Full Version : Peek-Poke and the TI-74?



thumbs
January 31st, 2018, 06:09 PM
Hi. I have a TI-74 Basicalc and I was wondering if there was any way to peek and poke on the TI-74?

I have the manuals but can't find anything about peeks and pokes. I've tried peeking and poking but to no avail. I have a functioning TI-74 but I don't have a cassette interface. I do have an 8K Ram module.

Thanks for any help or infomation.

smp
February 2nd, 2018, 09:47 AM
There is an article out there that compares the TI-74 to the previous TI CC-40:

http://www.99er.net/ti74art.html

In that article, the author states:


-- There is no direct access to assembly language except for
CALL IO on the TI-74. Therefore the following CALL's of
CC40 BASIC are not available on the TI-74; GETMEM POKE PEEK
LOAD EXEC RELMEM and DEBUG.

So, I guess there's your answer. Apparently no PEEK & POKE in the TI-74.

smp

thumbs
February 2nd, 2018, 11:30 AM
That's a shame. Thank you smp for the reply and information.

thumbs
February 3rd, 2018, 06:42 AM
I'm not a programmer or computer expert, just a hobbyist. If there are no peek or pokes available in TI-74 Basic, does anybody know of another way to "peek" and "poke" things in and out of memory?

Edited to add:

Did the factory have any external code or way to test or check out the TI-74 from the keyboard?

JGardner
February 6th, 2018, 03:59 PM
Hi fellows -

PEEK, POKE, & EXEC are available as callable sub-routines.

thumbs
February 6th, 2018, 04:41 PM
Thank you for the reply, JDardner.

How would I go about doing that on the TI-74?

When I: Call Peek(256) or Call poke(256,1) I get an 'E13 Not found' error. If I: peek(256) or poke(256,1) I get an 'E17 Not defined' error.

An guidance or help would be greatly appreciated.

smp
February 6th, 2018, 04:59 PM
Hi fellows -

PEEK, POKE, & EXEC are available as callable sub-routines.

You made me doubt myself (see my earlier post) so I got out my 74 and tried them. Nope, not available. Just to be certain, I scoured the Programming Reference Manual. Nope, nothing listed for PEEK, POKE, or EXEC.

Why do you make that statement?

smp

thumbs
February 6th, 2018, 05:02 PM
Thank you JGardner for the reply.

How would I go about doing that on the TI-74?

When I: Call peek(256) or Call poke(256,1) I get an 'E13 Not found' error. If I: peek(256) or poke(256,1) I get an 'E17 Not defined' error.

Any help or guidance would be greatly appreciated.

JGardner
February 7th, 2018, 04:53 AM
Hi gents. Sorry about the delay - I'm enjoying the flu at the moment.

The missing CC40 subs are available in the software package included

with the PC-IF, & separately here:

http://ftp.whtech.com/hexbus_cc40_ti74/Software%20in%20PCIF%20format/TI74%20software%20that%20comes%20with%20a%20new%20 PCIF/

You need a PC-IF to install the software on the '74 - So far. The PC-IF

manual has the details, available here:

http://ftp.whtech.com/hexbus_cc40_ti74/PC%20Interface%20(PCIF)%20manual.pdf

But...

Connecting a PC-IF to a modern computer is problematic - For openers you

need a PC with a parallel port - If you have a 386 w/ a parallel port card,

& a PC-IF, PCIF.exe works great...

JGardner
February 7th, 2018, 05:06 AM
Amended -

... If you have a 186/286/386, running MS-DOS 3x - 6x, w/ a parallel port card,

& connected PC-IF, PCIF.exe works great...

JGardner
February 7th, 2018, 06:21 AM
More info about the CALL-able subroutines packaged w/ PC-IF:

https://computerarchive.org/files/mirror/ftp.whtech.com/hexbus_cc40_ti74/CC40%20user%20guide/

74 loadable subroutines are essentially identical to the corresponding CC40

subroutines contained in ROM, except for exec addresses, buffer addresses,

& so on.

HTH, Jack

thumbs
February 7th, 2018, 01:33 PM
Thank you Jack for all the great info. I'll see if I can find a PC-IF and an appropriate computer.

It's a shame TI didn't build this capability into the TI-74 in the beginning.....it just seems like there should be an easier way.

JGardner
February 7th, 2018, 04:19 PM
I'm guessing that it may not be clear to everyone interested that many of the

CC40s CALL-able subpgms (in ROM) are not present in the 74 ROM; invoking

them produces a "Not Found" error.

Most of these routines can be installed in 74 RAM with "LOAD.PGM" via a PC-IF

connected PC, & then CALL-ed from the command line, or from a pgm.


There are solutions which elide the PC-IF connected PC.

Those interested may contact me.

thumbs
February 8th, 2018, 05:10 PM
" There are solutions which elide the PC-IF connected PC.

Those interested may contact me. "

Thank you Jack. I may have a problem finding a suitable computer or the PC-IF. If there are alternate ways to peek/poke/exec within the TI-74 I'd be very interested.

I'm having a problem posting on this website. The software requires my posts to be approved by a moderator which doesn't seem to happen. I submitted a post yesterday thanking you for the information which still hasn't been posted. I also sent a PM inquire about what you said above.

If this ever gets posted, please leave information if it's possible to peek/poke/exec without having a PCIF/computer setup.

Thanks.