mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-09 13:30:34 +00:00
minor sane stuff
This commit is contained in:
parent
07a2120993
commit
16604caf0f
@ -408,6 +408,9 @@ namespace SANE
|
|||||||
Log(" %s <> %s\n", tmp1.c_str(), tmp2.c_str());
|
Log(" %s <> %s\n", tmp1.c_str(), tmp2.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO -- verify if src/dest are backwards here
|
||||||
|
//
|
||||||
|
|
||||||
//
|
//
|
||||||
// check if ordered...
|
// check if ordered...
|
||||||
|
|
||||||
@ -620,6 +623,14 @@ namespace SANE
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t fpstr2dec()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
printf(stderr, "fpstr2dec is not yet supported.\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t decstr68k(uint16_t trap)
|
uint32_t decstr68k(uint16_t trap)
|
||||||
{
|
{
|
||||||
// this is a strange one since it may be sane or it may be the binary/decimal package.
|
// this is a strange one since it may be sane or it may be the binary/decimal package.
|
||||||
@ -640,6 +651,11 @@ namespace SANE
|
|||||||
return StringToNum();
|
return StringToNum();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0x02:
|
||||||
|
// fpstr2dec
|
||||||
|
return fpstr2dec();
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "decstr68k -- op %04x is not yet supported\n", op);
|
fprintf(stderr, "decstr68k -- op %04x is not yet supported\n", op);
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user