[comp.sys.handhelds] 48sx STAR help

billr@truevision.com (Bill Romanowski) (01/26/91)

** Posting for a friend but any info could be mailed to me...

Thanks for the copy to STAR. It built fine on my 386 system (DOS).

I would like to be able to write in assmebly on my 48sx ... STAR
could be what I need, but i have the following problems.: CAN YOU HELP?
 - 
1) Is there a good reference manual on STAR - in particular...
	A) Something that outlines nmemonics and syntax
	B) An outline on the architecture of the 48sx
		(how do I get to the display, etc...do I use
			SYSEVAL addresses for everything??

2) do you have one or two  star code examples? would be most helpful

In particular...I created a program and used the HP48.STAR file as an 
include type file. It assembled fine. I placed the "header" and "code"
mnemonics at the top of the file ans the "endcode " at the base. This
produced an object which appeared to be a code type object when dumped
however, when I squirted it to the HP48 and EVAL'ed it, the hourglass
came up then went away and the program was still on the stack.

HOW DO I RUN THE DAMN THINGS?

david cook

***************************

bson@rice-chex.ai.mit.edu (Jan Brittenson) (01/29/91)

In a posting of [25 Jan 91 17:41:58 GMT]
   billr@truevision.com (Bill Romanowski) writes:

 > do you have one or two STAR code examples?

   Here is a simple example. It takes an address on the stack and
replaces it with the object at that address. No type checking or
anything; use with care.

   If this works for you, then your code is at fault. If it doesn't
work, then your kermit is probably at fault.


;++
;
; PUSH -- Push object onto stack
;
; In:
;   1: address.short
;
; Out:
;   1: object at address
;
; Assemble with hp48.star
;
;--

	header			; Kermit header

getshort = 0x6641
pusha_cont = 0x6102c

	code			; Code object

	  call  getshort	; Get short -> A
	  jump  pusha_cont	; Push A onto stack

	endcode			; End code object

	end

						-- Jan Brittenson
						   bson@ai.mit.edu

;; "Make sure the brain is connected before the mouth is started."