Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a block transfer function from MOS to VDP #30

Closed
breakintoprogram opened this issue Mar 14, 2023 · 2 comments
Closed

Add a block transfer function from MOS to VDP #30

breakintoprogram opened this issue Mar 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@breakintoprogram
Copy link
Owner

breakintoprogram commented Mar 14, 2023

As a SureCloud developer
I want to be able to pass a block of data to the VDP
Without the overhead of doing lots of RST 10h calls in a loop
As I am concerned about performance

@breakintoprogram breakintoprogram added the enhancement New feature or request label Mar 14, 2023
@breakintoprogram
Copy link
Owner Author

breakintoprogram commented Mar 14, 2023

Add as new RST instruction (18h) or a mos command?

  • HLU: Pointer to block in memory (auto-translate if in 16-bit mode)
  • BC: Number of bytes to transfer

If BC is 0, then

  • A: terminator character (i.e. 0, CR, etc)

@breakintoprogram
Copy link
Owner Author

Implemented as RST 18h in the MOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Released
Development

No branches or pull requests

1 participant