mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 22:32:03 +00:00
Quick fix: also treat reception of sync as a reason not to stop looking for a data address mark.
This commit is contained in:
parent
75a9d2bb33
commit
709257a0c5
@ -205,7 +205,7 @@ void i8272::set_disk(std::shared_ptr<Storage::Disk::Disk> disk, int drive) {
|
||||
set_data_mode(DataMode::Scanning); \
|
||||
CONCAT(find_data, __LINE__): WAIT_FOR_EVENT((int)Event::Token | (int)Event::IndexHole); \
|
||||
if(event_type == (int)Event::Token) { \
|
||||
if(get_latest_token().type == Token::Byte) goto CONCAT(find_data, __LINE__); \
|
||||
if(get_latest_token().type == Token::Byte || get_latest_token().type == Token::Sync) goto CONCAT(find_data, __LINE__); \
|
||||
}
|
||||
|
||||
#define READ_HEADER() \
|
||||
|
Loading…
x
Reference in New Issue
Block a user