Re: A86: Re: romver


[Prev][Next][Index][Thread]

Re: A86: Re: romver




	ld hl, $0000
	ld (_pencol), hl
	ld hl,$4950 ;_ask_self_test+1
    	call _ldhlind
    	ld de,10
    	add hl,de
    	call _ldhlind
	ld de, $0015
	add hl, de
;	push hl
;	ld a, (hl)
;	sub '0'				;get real value, if you wanted to use it
;	inc hl				;but you'd have to store it somewhere.
;	inc hl
;	ld a, (hl)
;	sub '0'				;get real value, if you wanted to use it
;	pop hl
	call _vputs
	ret

Of course this can be made shorter by not including the parts that I've
commented out.
Cassady Roop


David Phillips wrote:
> 
> Nice work!  Mind posting the source?  :)  It works for me on ROM versions
> 1.2, 1.3 and 1.6.
> 
> If anyone has versions 1.4 or 1.5 (or any other versions??), please email me
> _privately_ (I have ROMs of several versions for all the calcs, if anyone is
> interested in trading :)
> 
> > Ok, I'm ataching a routine that should hopefully display the ROM version
> > for all 86's.  Could a few people please test it out on different ROM
> > versions, tell me if it worked or not, and what ROM version you tested
> > it on?  (please reply to me, not the list).
> >
> > I know it works for ROM 1.3.
> >
> > Cassady Roop
> > croop@oregontrail.net


References: