mirror of
https://github.com/ksherlock/mpw.git
synced 2024-09-28 01:54:33 +00:00
Compare commits
2 Commits
5facdb095c
...
7ac2a88974
Author | SHA1 | Date | |
---|---|---|---|
|
7ac2a88974 | ||
|
2703e00201 |
@ -90,9 +90,9 @@ or create a shell script (in `/usr/local/bin`, etc)
|
|||||||
|
|
||||||
`/usr/local/bin/AsmIIgs`:
|
`/usr/local/bin/AsmIIgs`:
|
||||||
|
|
||||||
#!/usr/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec mpw AsmIIgs $@
|
exec mpw AsmIIgs "$@"
|
||||||
|
|
||||||
|
|
||||||
mpw uses the MPW `$Commands` variable to find the command, similar to `$PATH` on Unix. If the `$Commands` variable
|
mpw uses the MPW `$Commands` variable to find the command, similar to `$PATH` on Unix. If the `$Commands` variable
|
||||||
|
@ -84,9 +84,9 @@ or create a shell script (in /usr/local/bin, etc)
|
|||||||
|
|
||||||
/usr/local/bin/AsmIIgs:
|
/usr/local/bin/AsmIIgs:
|
||||||
|
|
||||||
#!/usr/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec mpw AsmIIgs $@
|
exec mpw AsmIIgs "$@"
|
||||||
|
|
||||||
mpw looks in the current directory and then in the $MPW:Tools: directory
|
mpw looks in the current directory and then in the $MPW:Tools: directory
|
||||||
for the command to run. The MPW $Commands variable is not yet supported.
|
for the command to run. The MPW $Commands variable is not yet supported.
|
||||||
|
@ -74,7 +74,7 @@ namespace MPW
|
|||||||
int fd = f.cookie;
|
int fd = f.cookie;
|
||||||
ssize_t size;
|
ssize_t size;
|
||||||
|
|
||||||
Log(" read(%04x, %08x, %08x)", fd, f.buffer, f.count);
|
Log(" read(%04x, %08x, %08x)\n", fd, f.buffer, f.count);
|
||||||
size = OS::Internal::FDEntry::read(fd, memoryPointer(f.buffer), f.count);
|
size = OS::Internal::FDEntry::read(fd, memoryPointer(f.buffer), f.count);
|
||||||
//Log(" -> %ld\n", size);
|
//Log(" -> %ld\n", size);
|
||||||
|
|
||||||
|
@ -505,7 +505,7 @@ namespace ToolBox {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Push<4>(returnPC == 0 ? cpuGetPC() : returnPC);
|
Push<4>(returnPC == 0 ? cpuGetPC() : returnPC);
|
||||||
Log("$04x *%s - $%08x", trap, TrapName(trap), address);
|
Log("$04x *%s - $%08x\n", trap, TrapName(trap), address);
|
||||||
cpuInitializeFromNewPC(address);
|
cpuInitializeFromNewPC(address);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
infile="$1"
|
infile="$1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user