Re: A86: Re: Re: new emulator


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

Re: A86: Re: Re: new emulator




In a message dated 12/23/99 10:12:47 PM Eastern Standard Time, 
croop@oregontrail.net writes:

> What do you mean by that?  I'm not understanding something here...  If
>  you write something to ROM, doesn't it just go *poof* and disappear? 
>  How can an unwriteable memory space serve as temporary storage space? 
>  Or do you mean the actual port, as in maybe a port buffer on the cpu
>  that stores the last value that was sent out?

If you put a number in port 6, ignoring the area swapped into $8000, you can 
get that value back out later (such as after a reset).

 out (6),a
 rst 00h  ;reset
 in a,(6)  ;same value


----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/ (down)