1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-10 07:39:01 +00:00

Locate first pixel correctly.

This commit is contained in:
Thomas Harte 2023-01-28 22:50:04 -05:00
parent 41ba883fb6
commit 3f12a28f4f

@ -172,13 +172,15 @@ struct PointSet: public Command {
struct LogicalMoveFromCPU: public Command {
public:
LogicalMoveFromCPU(CommandContext &context) : Command(context) {
is_cpu_transfer = true;
start_x_ = context.destination.v[0];
width_ = context.size.v[0];
// This command is started with the first colour ready to transfer.
cycles = 32;
access = AccessType::PlotPoint;
is_cpu_transfer = true;
location = context.destination;
}
void advance() final {