Future of block memory copy #9

Closed
opened 2023-07-25 18:22:49 -05:00 by Ghost · 0 comments

Currently BMC (block memory instruction) is not a subject of timer interrupts, so it can block program execution for quite long time.

Solutions:

  • Turn it into iterator and save state of block memory copy
    • Issue: Executor would have to check for it each time even
      I believe this instruction is pretty rare
  • Remove it.
    • It is causing timing issues
    • We are still copying to intermediate buffer, register array can serve as it too
      • Issue: Having to reserve registers / save+restore
  • Limit it to some sensible size (max 255 bytes at time? max one small page at time?)
Currently BMC (block memory instruction) is not a subject of timer interrupts, so it can block program execution for quite long time. Solutions: - Turn it into iterator and save state of block memory copy - Issue: Executor would have to check for it each time even I believe this instruction is pretty rare - Remove it. - It is causing timing issues - We are still copying to intermediate buffer, register array can serve as it too - Issue: Having to reserve registers / save+restore - Limit it to some sensible size (max 255 bytes at time? max one small page at time?)
Ghost added the
S-proposal
bikeshedding
labels 2023-07-25 18:22:49 -05:00
able was assigned by Ghost 2023-07-25 18:22:49 -05:00
Ghost closed this issue 2023-07-28 12:53:50 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AbleOS/holey-bytes#9
No description provided.