mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Fix line mode flag, add busy status.
This commit is contained in:
parent
1dfc36f311
commit
759689ff31
@ -18,8 +18,8 @@ using namespace Amiga;
|
||||
|
||||
void Blitter::set_control(int index, uint16_t value) {
|
||||
if(index) {
|
||||
line_mode_ = !(value & 1);
|
||||
direction_ = (value & 2) ? uint32_t(-1) : uint32_t(1);
|
||||
line_mode_ = (value & 0x0001);
|
||||
direction_ = (value & 0x0002) ? uint32_t(-1) : uint32_t(1);
|
||||
} else {
|
||||
minterms_ = value & 0xff;
|
||||
channel_enables_[3] = value & 0x100;
|
||||
@ -81,8 +81,8 @@ void Blitter::set_data(int channel, uint16_t value) {
|
||||
}
|
||||
|
||||
uint16_t Blitter::get_status() {
|
||||
LOG("Returned dummy status");
|
||||
return 0;
|
||||
LOG("Returned status of " << (height_ ? 0x8000 : 0x0000));
|
||||
return height_ ? 0x8000 : 0x0000;
|
||||
}
|
||||
|
||||
bool Blitter::advance() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user