Dec 172017
 
ID your CPU chip with this assembler code with BASIC interface.
File GETCPU.ZIP from The Programmer’s Corner in
Category BASIC Language
ID your CPU chip with this assembler code with BASIC interface.
File Name File Size Zip Size Zip Type
GETCPU2.ASM 2972 898 deflated
GETCPU2.DOC 799 473 deflated
GETCPU2.OBJ 223 208 deflated
TPCREAD.ME 199 165 deflated

Download File GETCPU.ZIP Here

Contents of the GETCPU2.DOC file


GetCPU2 is a routine that tests the type of CPU you are using and provides
a return for BASIC. I have tested this routine on a wide variety of
machines from a slow 8088 to an 80486/25 and it has worked on all of them.

With a little modification, this routine can be used in any language.

To use with BASIC, put the supplied .OBJ in your link LIB and call as
shown in the ASM listing, or compile your own from the ASM.

I can't claim much originality for this code. I just put it together
from some bit's and pieces from other people and made it BASIC callable.

I cannot accept any responsibility for the use of this code.
I have tested it and have found no bugs so far. Let me know if
it works for you.

-----===< Cliff Brown CIS# 71650,423 8-30-90 >===-----


 December 17, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)