Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Z80 emulator extended instructions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul E Collins  
View profile  
 More options Jan 27, 4:40 pm
Newsgroups: comp.sys.sinclair
From: "Paul E Collins" <equi+...@cl4.invalid>
Date: Fri, 27 Jan 2012 21:40:04 -0000
Local: Fri, Jan 27 2012 4:40 pm
Subject: Z80 emulator extended instructions
Remember Gerton Lunter's "Z80" Spectrum emulator from the 1990s?

I seem to recall a proposal (or even a Z80 release) long ago, relating to  
the use of extended/undocumented Z80 instructions to perform operations  
outside the emulator -- a bit like how a TZX file can give instructions to  
the emulated tape recorder.

Can anyone jog my memory about this and give some more details about what  
was achieved and what it was (intended to be) used for?

Eq.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Kendall  
View profile  
 More options Jan 27, 4:57 pm
Newsgroups: comp.sys.sinclair
From: Philip Kendall <phi...@shadowmagic.org.uk>
Date: Fri, 27 Jan 2012 21:57:56 +0000
Local: Fri, Jan 27 2012 4:57 pm
Subject: Re: Z80 emulator extended instructions
On 27/01/12 21:40, Paul E Collins wrote:

> Remember Gerton Lunter's "Z80" Spectrum emulator from the 1990s?

> I seem to recall a proposal (or even a Z80 release) long ago, relating
> to the use of extended/undocumented Z80 instructions to perform
> operations outside the emulator -- a bit like how a TZX file can give
> instructions to the emulated tape recorder.

> Can anyone jog my memory about this and give some more details about
> what was achieved and what it was (intended to be) used for?

IIRC, this was Warajevo, not Z80. See the "Using 'Escape' sequences"
section in Warajevo's manual.

Cheers,

Phil

--
   Philip Kendall <phi...@shadowmagic.org.uk>
   http://www.shadowmagic.org.uk/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Wilson  
View profile  
 More options Jan 31, 1:07 pm
Newsgroups: comp.sys.sinclair
From: Matthew Wilson <matt...@mjwilson.demon.co.uk>
Date: Tue, 31 Jan 2012 10:07:28 -0800 (PST)
Local: Tues, Jan 31 2012 1:07 pm
Subject: Re: Z80 emulator extended instructions
On Jan 27, 9:57 pm, Philip Kendall <phi...@shadowmagic.org.uk> wrote:

> On 27/01/12 21:40, Paul E Collins wrote:

> > Remember Gerton Lunter's "Z80" Spectrum emulator from the 1990s?

> > I seem to recall a proposal (or even a Z80 release) long ago, relating
> > to the use of extended/undocumented Z80 instructions to perform
> > operations outside the emulator -- a bit like how a TZX file can give
> > instructions to the emulated tape recorder.

> > Can anyone jog my memory about this and give some more details about
> > what was achieved and what it was (intended to be) used for?

> IIRC, this was Warajevo, not Z80. See the "Using 'Escape' sequences"
> section in Warajevo's manual.

The one that springs to mind in Z80 was the use of a special opcode
for loading
multi-level data from SLT files.
http://www.worldofspectrum.org/faq/reference/formats.htm#SLT

Matthew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jgharston  
View profile  
 More options Feb 6, 10:50 am
Newsgroups: comp.sys.sinclair
From: jgharston <j...@arcade.demon.co.uk>
Date: Mon, 6 Feb 2012 07:50:43 -0800 (PST)
Local: Mon, Feb 6 2012 10:50 am
Subject: Re: Z80 emulator extended instructions

Matthew Wilson wrote:
> > > I seem to recall a proposal (or even a Z80 release) long ago, relating
> > > to the use of extended/undocumented Z80 instructions to perform
> > > operations outside the emulator -- a bit like how a TZX file can give
> > > instructions to the emulated tape recorder.

> The one that springs to mind in Z80 was the use of a special opcode
> for loading multi-level data from SLT files
> http://www.worldofspectrum.org/faq/reference/formats.htm#SLT

TECHINFO.DOC refers to ED F8 to ED FF to access the host system,
(my Z80Tube uses ED 00 to ED 0F in a similar way), see
http://mdfs.net/Docs/Comp/Z80/OpList

The only details are that ED FF returns to DOS, and ED FB is
used to access the SamRam and to load multi-level games:

If the ED FB opcode is in memory above 3FFF, a block of code
is loaded into memory at HL. The data is loaded from the
last accessed .Z80 or .SLT file, if not found there data is
loaded from a file with the name of the last snapshot loaded,
appended with the decimal value of the A register, with a .DAT
extension. If no filennn.dat file is found, a dialog window
pops up to prompt the user for a file.

JGH


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jgharston  
View profile  
 More options Feb 6, 1:34 pm
Newsgroups: comp.sys.sinclair
From: jgharston <j...@arcade.demon.co.uk>
Date: Mon, 6 Feb 2012 10:34:38 -0800 (PST)
Local: Mon, Feb 6 2012 1:34 pm
Subject: Re: Z80 emulator extended instructions

jgharston wrote:
> TECHINFO.DOC refers to ED F8 to ED FF to access the host system,

More detailed information:

ED F8 NOP
      Ununsed

ED F9 BYTECOPY
      LD A,(DE) from normal memory
      LD (HL),A to SamRam memory
      INC E
      INC H

ED FA LDOBAHL
      Load A with byte in SamRam at (HL)

ED FB LDOBHLA
      If PC<4000, store byte in A in SamRam at (HL)
      If PC>3FFF, multi-level loader, loads code to HL
      from last accessed .Z80 or .SLT file, or from a
      file name xxxxnnn.dat, where xxxx is the last
      snapshort filename, and nnn is the A register
      in decimal. If no file found, the user is
      prompted for a file.

ED FC READBYTE
      Reads byte from RS232 to A
      Z/CC=no byte waiting, NZ/CS=byte recieved

ED FD SENDBYTE
      Sends A to RS232

ED FE ROMPOKE
      LD (HL),A writing into ROM

ED FF QUIT
      Exits emulator

JGH


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »