Commit Graph

1269 Commits

Author SHA1 Message Date
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
2d8317cb92 Add 64bit build host support for the first level parameters (replace void* by u_int32_t)
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-10 02:19:09 +02:00
Laurent Vivier
003dc015eb uptdate .gitignore
add *.bin, *.gz, and *.swp and objects directories

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 22:39:40 +02:00
Laurent Vivier
c4f9714d63 second: because of mess between gcc and as: remove cpu directive and use the
default provided by gcc (68020). Add rules to manage 68040 and 68030 assembly
files in the Makefile. Classic will wait later...

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 22:37:03 +02:00
Laurent Vivier
aba7a139c5 libunix: because of mess between gcc and as: remove cpu directive and use the default provided by gcc (68020). Classic will wait later...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 21:55:43 +02:00
Laurent Vivier
f20c8f1194 EMILE PPC is also compiled with m68k tools except clearly
identified files

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 18:33:19 +02:00
Laurent Vivier
2971c5775d Correct branch local label to go backward instead forward (assembler error)
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 18:32:34 +02:00
Laurent Vivier
e16d8501ed Correct signe of response according Gestalt signature
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2009-06-08 18:30:59 +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
72fe121b08 Change VERSION from 0.13 to 0.13CVS
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-25 16:55:52 +02:00
Laurent Vivier
20e785f628 Define vga_set_palette() to define current display palette.
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-17 14:53:27 +02:00
Laurent Vivier
094feb6fe2 create .gitignore
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-17 14:51:45 +02: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
Finn Thain
c1ebc202d7 This patch corrects the generated tools.mk when no tool to create manual
from docbook is found

Original patch has been modified to send message to >&2 instead of /dev/stderr
and to stop make.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-11 00:21:35 +02:00
Laurent Vivier
c5268fb299 Move all docs management from Rules.mk to docs/Makefile, to avoid conflists between variables (SOURCES, OBJS, ...)
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-05 14:20:41 +02:00
Laurent Vivier
e1d621532a Update README
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
2008-09-05 14:02:55 +02:00
Laurent Vivier
5de80e9c48 Add command line interface 2008-09-02 19:40:35 +00:00
Laurent Vivier
bcd309d505 use temp file to set configuration 2008-08-13 20:17:46 +00:00
Laurent Vivier
99a937f634 change Standards-Version 2008-08-13 19:40:59 +00:00
Laurent Vivier
de93e31ec4 Change FSF address 2008-08-13 19:40:12 +00:00
Laurent Vivier
31fb7a324e move to version 0.13 2008-08-13 13:07:08 +00:00
Laurent Vivier
e67d69181a Update 2008-08-13 13:06:59 +00:00
Laurent Vivier
7eb57e21d0 add usage of --emiledriver and --config 2008-08-13 13:03:49 +00:00
Laurent Vivier
fe6896415e update copyright for EMILE, add copyright for mkisofs 2008-08-13 12:44:54 +00:00
Laurent Vivier
f89ab83ec9 Add apple_driver 2008-08-13 12:33:05 +00:00
Laurent Vivier
e01d129289 install apple_driver 2008-08-13 12:29:52 +00:00
Laurent Vivier
57dee88fbf by default use EMILE driver 2008-08-13 12:29:19 +00:00
Laurent Vivier
5f09d45ad9 remove error message when complete transaction fails 2008-08-12 23:51:40 +00:00
Laurent Vivier
d3d9a428a5 correctly manage default values 2008-08-12 23:40:28 +00:00
Laurent Vivier
1a1478bfe8 correctly get boot unit 2008-08-12 23:37:22 +00:00
Laurent Vivier
be678577f6 ext2_init() fails if device is not an ext2 filesystem 2008-08-12 23:36:12 +00:00
Laurent Vivier
4e79c0b645 if APPLE_DRIVER, set the default unit to the boot unit 2008-08-12 13:55:44 +00:00
Laurent Vivier
fa06e26c9f include ../first/macos.i, for APPLE_DRIVER, manage 32bitmode and boot unit 2008-08-12 13:54:55 +00:00
Laurent Vivier
b2b8839439 add --config to provide a configuration file 2008-08-12 13:51:49 +00:00
Laurent Vivier
689316713e Allow to define a default unit to use if none is provided 2008-08-12 13:45:41 +00:00
Laurent Vivier
7ff51a725e Add NewPtrClear 2008-08-12 11:44:46 +00:00
Laurent Vivier
fb68a737b7 Generate an EMILE Apple_Driver 2008-08-12 09:24:22 +00:00
Laurent Vivier
fe0eeaba24 Add --emiledriver to boot second stage of emile in an Apple_Driver partition 2008-08-12 09:22:49 +00:00
Laurent Vivier
6d24a5fb5c map_read_sector() uses offset from the beginning of the partition, not of the disk 2008-08-12 09:15:00 +00:00
Laurent Vivier
f0a396777c Add APPLE_DRIVER_EMILE 2008-08-12 09:13:43 +00:00
Laurent Vivier
75f78cecb6 length is 16bit value 2008-08-12 09:12:25 +00:00
Laurent Vivier
b5058db8ef return NULL if header version is wrong 2008-08-07 19:32:11 +00:00
Laurent Vivier
d7f20aeb29 update 2008-07-29 22:35:20 +00:00
Laurent Vivier
b72acfbc1c define mount 2008-07-29 22:33:38 +00:00
Laurent Vivier
ffdcb53fed correct typo between len and size 2008-07-29 00:28:35 +00:00
Laurent Vivier
2b81e1f813 Correctly set configuration path 2008-07-29 00:03:47 +00:00
Laurent Vivier
b0ae9341dd don't crash when configuration file is not found 2008-07-28 23:43:21 +00:00
Laurent Vivier
336b5e6e57 correct sprintf parameter signedness 2008-07-28 23:08:38 +00:00