Add burst mode I/O.

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by locating the N: handler's CIO path and its SIO call, then read the linked Atari Archives description of DOS 2.0 burst mode. Done means that, for non-update aux1 mode with a specified buffer size and length, the handler transfers the requested bytes minus one, resets the buffer length to 1, and exits for CIO to transfer the final character.

Written by the indexing model from the issue text.

Description

enhancement help wanted

CIO calls the N: handler once for each character transferred.

If open (aux1) mode is not update (12), and if a buffer size and length are specified, then call SIO to transfer the desired number of bytes (minus 1) directly to the buffer, reset the buffer length to 1, and then exit, which will cause CIO to transfer the last character itself.

DOS 2.0's implementation of burst mode is described here:
https://www.atariarchives.org/iad/chapter12.php

Dominant language
Assembly
Stars
6
Forks
12
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FujiNetWIFI/fujinet-nhandler

All issues in FujiNetWIFI/fujinet-nhandler

Similar issues

More Operating Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.