Future of block memory copy #9

Closed
opened 2023-07-25 23:22:49 +00: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 23:22:49 +00:00
able was assigned by Ghost 2023-07-25 23:22:49 +00:00
Ghost was assigned by Ghost 2023-07-25 23:22:49 +00:00
Ghost closed this issue 2023-07-28 17:53:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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
There is no content yet.