nfile = 1;
if (!strncmp(Ra0, "bu00", 4)) {
bufile(1);
- v0 = _dir;
- }
-
- if (!strncmp(Ra0, "bu10", 4)) {
+ } else if (!strncmp(Ra0, "bu10", 4)) {
bufile(2);
- v0 = _dir;
}
+ // firstfile() calls _card_read() internally, so deliver it's event
+ DeliverEvent(0x11, 0x2);
+
pc0 = ra;
}