Laurent Vivier
dd27d8c153
Add include of macos/errors.h
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-18 22:24:15 +02:00
Laurent Vivier
f71ae4b6d0
Add LockMemory() and LockMemoryContiguous()
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-18 22:11:03 +02:00
Laurent Vivier
a2de5774fe
Replace space by tab
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-18 22:02:41 +02:00
Laurent Vivier
2b6bc8a596
Add GetPhysical() trap
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-18 22:00:27 +02:00
Laurent Vivier
c1b482e48a
Preserve register %a2.
...
If we don't preserver the %a2 register through MacOS traps, the content
of "emile_l2_header_t* info" in second/main:start() is lost.
It seems gcc supposes this register is not modified whereas it is.
This has been detected on a powermac 7100. I don't know if this appears
because of the powermac ROM or of the gcc version (4.3.2).
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-11 22:02:04 +02:00
Laurent Vivier
5d2fe2dbb2
Allow to compile with gcc-4 by adding a contraint on memory for MacOS traps
...
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-10-27 20:51:15 +01:00
Laurent Vivier
db0457b9e5
Push parameters of _SetEntries into the stack instead of registers.
...
Add graphical display type (clut, fixed, direct).
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-17 14:45:35 +02:00
Laurent Vivier
34dc6d518c
Add SetEntries() to set color palette
...
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-14 23:59:22 +02:00
Laurent Vivier
894efdd1db
Add some definitions to video.h
...
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-14 23:55:35 +02:00
Laurent Vivier
3f4a3c5000
Add LMSetBootDriver()
2007-11-03 20:40:37 +00:00
Laurent Vivier
90b8e2db0b
Add FlushInstructionCache(), FlushDataCache(), DisableExtCache(), FlushExtCache() and FlushCodeCacheRange()
2007-11-03 20:37:55 +00:00
Laurent Vivier
1ee27546a1
Add _HWPriv dispatcher
2007-11-03 20:36:53 +00:00
Laurent Vivier
2ebda90890
remove traces
2007-09-29 21:27:48 +00:00
Laurent Vivier
15c4184ee7
correct typo
2007-09-29 21:27:31 +00:00
Laurent Vivier
8a2503868e
Define LMGetBootDrive()
2007-09-29 21:26:08 +00:00
Laurent Vivier
de9ecab9bc
Implement GetDCtlEntry()
2007-09-29 21:23:45 +00:00
Laurent Vivier
f88c5d72f1
Correct definition of DCtlEntry, using QHdr
2007-09-29 21:22:43 +00:00
Laurent Vivier
f343388bab
Define QElem and modify QHdr accordingly
2007-09-29 21:19:52 +00:00
Laurent Vivier
8a586c3e31
include tools.mk
2007-09-06 22:09:11 +00:00
Laurent Vivier
a7283acb85
Add include <sys/types>, patch by Finn Thain
2007-09-03 17:51:12 +00:00
Laurent Vivier
d356dd3a53
Add GetCurrentMode()
2007-05-04 09:14:49 +00:00
Laurent Vivier
272ac39b96
remove display_properties.S and define LMGetMainDevice(), detect display in vga_init()
2007-03-31 07:26:05 +00:00
Laurent Vivier
64e1ab4983
a pointer to an array is the array itself
2007-03-22 17:02:00 +00:00
Laurent Vivier
cdc94e3962
change .chip to .cpu to use binutils 2.17
2007-03-22 15:36:39 +00:00
Laurent Vivier
21ee355ca7
add #ifdef __mc68000__ for inlined asm functions
2006-12-29 20:27:15 +00:00
Laurent Vivier
c70264f609
remove unneeded ARCH_M68K for typedef
2006-12-29 20:26:08 +00:00
Laurent Vivier
ce0ab6332f
Don't overwrite CFLAGS
2006-11-01 19:48:51 +00:00
Laurent Vivier
6df85e6083
Add SCSIStat()
2006-10-30 21:52:23 +00:00
Laurent Vivier
92449e6c43
Add error codes for SCSI
2006-10-27 17:16:55 +00:00
Laurent Vivier
4d96dcd5a7
Add DrvrRemove()
2006-10-20 22:12:35 +00:00
Laurent Vivier
f7868fb753
Don't define u_int8_t, u_int16_t, etc if sys/types.h has already been included (avoid warning with gcc 3.3)
2006-09-20 14:34:51 +00:00
Laurent Vivier
1bb375da59
Change my email address to Laurent@lvivier.info
2006-09-15 14:55:39 +00:00
Laurent Vivier
83a63cd81f
disable 68000 flags
2006-01-24 12:25:27 +00:00
Laurent Vivier
a27d6f2718
Remove typo (macos/header)
2005-11-29 00:21:13 +00:00
Laurent Vivier
d5fd341704
Add include macos/types.h
2005-11-21 21:58:54 +00:00
Laurent Vivier
f6cdf4d2c9
Move some generic parts to Rules.mk
2005-11-16 14:00:27 +00:00
Laurent Vivier
9773bd7e68
Move MacOS functions to libmacos
2005-11-08 02:02:16 +00:00