Jump to content
Sign in to follow this  
nitrofurano

[Aquarius] can't we use Halt for waitvbl? (video blank sync)

Recommended Posts

when using Boriel's ZX-Basic Compiler for coding stuff for ZX-Spectrum or MSX, or even coding directly in assembly on them, i use Halt (z80 operand) for waitvbl (video blank sync) - it seems that we can't do that on Aquarius, and there is no syncronization at all between z80 and the video processor, like happens on GEM-1000/MC-1000? should we use instead a kind of bc decrement delai routine for that?

Share this post


Link to post
Share on other sites

when using Boriel's ZX-Basic Compiler for coding stuff for ZX-Spectrum or MSX, or even coding directly in assembly on them, i use Halt (z80 operand) for waitvbl (video blank sync) - it seems that we can't do that on Aquarius, and there is no syncronization at all between z80 and the video processor, like happens on GEM-1000/MC-1000? should we use instead a kind of bc decrement delai routine for that?

 

Check out the VSYNC discussion in Aquarius machine language programming, second page

 

Martin

Share this post


Link to post
Share on other sites

Check out the VSYNC discussion in Aquarius machine language programming, second page

 

Martin

i'm struggling on finding it... :S

Share this post


Link to post
Share on other sites

i'm struggling on finding it... :S

 

I think he means here:

 

http://atariage.com/...us/page__st__25

 

 

At

http://www.vdsteenov...rius/iomap.html

we can read:

 

 

The current state of the vertical sync will appear on bit 0 during a read of this port[FD]. The waveform and timing spec is shown as follows:

 

 

 

post-14916-0-90891700-1372632170_thumb.png

 

Does this help?

 

Looking good so far....

Share this post


Link to post
Share on other sites

so i imagine

halt

would be replaced with something like:

loopvbl:
in($FD)
and $01
jp z,loopvbl" ;(or perhaps "jp nz,loopvbl" ?)

?

Edited by nitrofurano

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...