Commit Graph

406 Commits

Author SHA1 Message Date
Kelvin Sherlock
4917ca2acc environ support (mpw_) 2013-02-17 17:21:35 -05:00
Kelvin Sherlock
2059327323 stack under/overflow check 2013-02-17 16:02:25 -05:00
Kelvin Sherlock
add2d6b5a3 return the MPW exit status. 2013-02-17 15:49:28 -05:00
Kelvin Sherlock
f7800ece1e fix mpw - dev ptr is needed in MacProgramInfo 2013-02-17 15:45:47 -05:00
Kelvin Sherlock
a737da619d move MPW init to MPW
(currently slightly buggy)
2013-02-17 15:08:09 -05:00
Kelvin Sherlock
1bb0369223 Native::NewPtr clear flag 2013-02-17 15:07:32 -05:00
Kelvin Sherlock
4f4fde9cfb add MM::Native functions for memory allocation 2013-02-17 13:03:03 -05:00
Kelvin Sherlock
53c42e1ee2 improve mpw return errors (0x40000000) 2013-02-17 12:25:20 -05:00
Kelvin Sherlock
7d10b0da5d convert : -> / for pathnames
(needs to be more complicated but ok for now)
2013-02-17 01:18:00 -05:00
Kelvin Sherlock
2e1245d9fe .lst files (linkiigs) are text 2013-02-17 01:17:14 -05:00
Kelvin Sherlock
3ba3691622 .macros are text files. 2013-02-16 19:50:40 -05:00
Kelvin Sherlock
645c70df6a faccess calls ( AsmIIgs uses F_GTABINFO) 2013-02-16 18:56:18 -05:00
Kelvin Sherlock
97b5dd6400 toolbox logging flag. 2013-02-16 18:51:28 -05:00
Kelvin Sherlock
adc17ebe9c logging refinements 2013-02-16 18:51:18 -05:00
Kelvin Sherlock
acd4765317 mpw trace flag 2013-02-16 18:32:37 -05:00
Kelvin Sherlock
0cc361bab0 minor cleanups 2013-02-16 18:13:40 -05:00
Kelvin Sherlock
93fd6cb58c error when seeking on a tty (LinkIIgs) 2013-02-16 18:13:34 -05:00
Kelvin Sherlock
feee4d5809 better ioctl logging 2013-02-16 16:47:53 -05:00
Kelvin Sherlock
c7ccb62e6c OS::GetEOF 2013-02-16 16:11:10 -05:00
Kelvin Sherlock
04114124ac refnum ioctl 2013-02-16 16:10:55 -05:00
Kelvin Sherlock
85f19644f3 HLock, HUnlock, GetPtrSize 2013-02-16 15:37:55 -05:00
Kelvin Sherlock
ce5f23a1a2 split up mpw traps into multiple files 2013-02-16 15:37:37 -05:00
Kelvin Sherlock
e88f379eb1 open - set binary flag based on extension 2013-02-16 13:33:09 -05:00
Kelvin Sherlock
61ea17ff4a OS text/binary based on name 2013-02-16 13:32:47 -05:00
Kelvin Sherlock
d92ebe2634 fix sleek to return a value. 2013-02-16 00:11:12 -05:00
Kelvin Sherlock
d2a0d95c35 todos 2013-02-15 23:58:06 -05:00
Kelvin Sherlock
eb3673c368 note to self 2013-02-15 23:47:48 -05:00
Kelvin Sherlock
ee2e2a34d4 more flags 2013-02-15 23:47:26 -05:00
Kelvin Sherlock
989b91a465 lseek 2013-02-15 23:47:15 -05:00
Kelvin Sherlock
475cbc47eb fix GetFileInfo (finder info overwritten) 2013-02-15 23:47:00 -05:00
Kelvin Sherlock
1f9b10a59e UnloadSeg, use StackFrame templates 2013-02-15 20:42:20 -05:00
Kelvin Sherlock
97a89c1904 TickCount 2013-02-15 20:41:57 -05:00
Kelvin Sherlock
a14cd5eb5d MM::SetPtrSize 2013-02-15 20:33:00 -05:00
Kelvin Sherlock
461989baee fix template instantiation dependencies 2013-02-15 20:32:35 -05:00
Kelvin Sherlock
dd7a6d9862 mplite_resize (in-place realloc) 2013-02-15 19:26:59 -05:00
Kelvin Sherlock
3c65212ba3 fiofname 2013-02-15 19:03:53 -05:00
Kelvin Sherlock
05d7518d98 CompactMem (stub) 2013-02-15 00:08:22 -05:00
Kelvin Sherlock
6ffa214713 improved debug symbols 2013-02-15 00:00:33 -05:00
Kelvin Sherlock
f226bdd60c GetFNum, StackFrame template 2013-02-15 00:00:15 -05:00
Kelvin Sherlock
326e2eacc8 quickdraw 2013-02-14 23:09:05 -05:00
Kelvin Sherlock
0bb73b10bd NewHandle/DisposeHandle 2013-02-14 23:08:56 -05:00
Kelvin Sherlock
04d878c300 move quickdraw stuff to its own file 2013-02-14 23:08:38 -05:00
Kelvin Sherlock
0f7568a2ca RM::GetResource stub 2013-02-13 23:07:33 -05:00
Kelvin Sherlock
5708edd11d OS::Delete 2013-02-13 22:38:34 -05:00
Kelvin Sherlock
a16cd348e9 update tools 2013-02-13 22:16:40 -05:00
Kelvin Sherlock
44dbdd89a4 GetVol, Create 2013-02-13 22:16:26 -05:00
Kelvin Sherlock
8bde718b83 WritePString 2013-02-13 22:16:05 -05:00
Kelvin Sherlock
db68aea8b1 time commands 2013-02-13 22:15:42 -05:00
Kelvin Sherlock
ad9d856056 fix read/write count adjustment
( -= bytes transferred)
2013-02-13 20:00:12 -05:00
Kelvin Sherlock
29fb14ffd2 SetFileInfo 2013-02-12 22:35:15 -05:00