Laurent Vivier c5d80cb382 emile: fix backup file renaming
When restoring a bootblock, the path .backup should be renamed to
.backup.old. The sprintf() call mistakenly used the newly allocated
buffer rather than the original path. We now pass backup_path to
sprintf() before renaming the backup file.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2025-06-25 19:11:35 +00:00
2015-11-11 20:13:36 +01:00
2017-03-16 20:47:29 +01:00
2015-11-11 20:13:36 +01:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2015-11-10 22:23:53 +01:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2025-06-25 19:11:35 +00:00
2009-06-08 22:39:40 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:29 +02:00
2014-05-10 18:31:27 +02:00
2017-03-16 20:47:29 +01:00
2013-09-05 14:44:59 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2013-09-05 14:45:27 +02:00
2017-03-16 20:12:52 +00:00

			EMILE
		(C) 2004-2013 Laurent Vivier

	All files are distributed under the terms of GPL license. See COPYING.

This tool allows to generate a floppy bootable on early macintoshes (680x0 
based macintoshes).

In the booter, is embedded the kernel found in top directory under the name of 
"vmlinux". It has been generated previously in linux source tree with 
"make vmlinux". If a ramdisk (ramdisk.gz) is found, it is also added in
the floppy image.

This work is based on the penguin booter for mac68k, on linux kernel, and 
perhaps on the ppc booter BootX.

Some problems can appear when there is no physical memory in the first bank.

All mechanisms found in "penguin" have not been implemented in EMILE.
You can ask me if one is missing for you :-P

This work has only be tested on a MacIIci with 8 x 4 MB RAM, a Two-Page Display,
and ethernet card sonic.

Have fun
Laurent Vivier <Laurent@Vivier.EU>
S
Description
EMILE is a 680x0 Macintosh bootloader
Readme GPL-2.0
73 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 91.8%
Makefile 4.4%
Assembly 3.5%
Linker Script 0.3%