| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
The core Bedrock struct is now parametric over individual Device
structs, rather than over a single DeviceBus. This change was made so
that devices can be implemented separately to one another.
The implementation of the evaluate method has also been changed to make
it potentially slightly more efficient, by replacing pop-then-push
combinations with get operations.
|
| |
|
|
|
|
|
| |
A 1% speed increase was observed when testing a tight decrementing loop
with these optimisations.
|
| |
|
|
|
|
|
|
|
|
| |
When a value is to be read and kept on the stack, instead of popping and
immediately pushing it we now use a more efficient `get` stack method.
The pop_u16 stack method has also been changed to a variation that
assembles to fewer CPU instructions.
|
|
|
|
| |
The compiler warned that these are a deprecated syntactic form.
|
| |
|
|
|
|
|
|
|
| |
The wrong shifting operation was being used for the SHF operation. The
'wrapping' operations were shifting by the given distance, modulo eight,
which was yielding incorrect results for shift distances greater than
seven.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- The LKD and SKD operations have been removed
- SHF/SHC have been moved to after LDD/STD
- SWP/ROT/DUP/OVR have been rearranged to be DUP/OVR/SWP/ROT
- NOT/AND have been rearranged to be AND/NOT
- PSK has been added, placed after PSH
- SPL has been added, placed after POP
|
|
|