Newsgroup: comp.sys.palmtops


Newsgroups: comp.sys.palmtops
Path: icdoc!dds
From: dds@doc.ic.ac.uk (Diomidis Spinellis)
Subject: HP 95 LX programming tip
Message-ID: <1992Apr21.122650.12061@doc.ic.ac.uk>
Keywords: NEC v20 80186 80286 G1 G2 assembly programming enter leave
Sender: usenet@doc.ic.ac.uk
Nntp-Posting-Host: dirty.doc.ic.ac.uk
Organization: Dept. of Computing, Imperial College, London, UK
Date: Tue, 21 Apr 1992 12:26:50 GMT
Lines: 26
Content-Length: 1206
Going over the 95LX technical specifications, I found out that the
CPU is not an Intel 8088, but a CMOS version of the NEC V20.  This
implies that the extra V20 features can be used.   One of them is that
all instructions of the 80186 are available (essentialy the 80286 real
mode extra instructions, i.e. no protected mode stuff).  I tried
compiling a system manager compliant program with the Microsoft C
compiler G1 option (generate 80186 code) and it worked.  The size of
the executable was 4% smaller and it should also execute faster.  The
extra instructions generated by the compiler were:

	push integer
	shift with an integer count > 1
	enter
	leave

The V20 has some more exotic features such as the ability to emulate
an 8080.  This is done with the BRKEM instruction (0xf, 0xff, intvec).
Thus it should be possible, using the program wuarchive.wustl.edu:
/mirrors/msdos/dskutl/{v2080j88.arc,v20boot.zip} to run 8080 CP/M 
code on your 95 LX.

Diomidis
-- 
Diomidis Spinellis                  Internet:                 dds@doc.ic.ac.uk
Department of Computing             UUCP:                    ...!ukc!icdoc!dds
Imperial College, London SW7        #include "/dev/tty"



Newsgroup comp.sys.palmtops contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.