Commit Graph

184 Commits

Author SHA1 Message Date
Laurent Vivier
151189f71f Create a more generic data structure for mkisofs, allows to write my own apple driver 2006-10-16 20:01:40 +00:00
Laurent Vivier
54521d6fe9 Allow to find driver if base is not in block_size but using 512 bytes block 2006-10-15 22:08:42 +00:00
Laurent Vivier
c2fa547aea correct source file for emile-mkisofs 2006-10-08 17:04:07 +00:00
Laurent Vivier
c470022639 remove definition of second driver in block0, compute some values for map of driver in 2048 block size 2006-09-24 22:59:08 +00:00
Laurent Vivier
6abf87cc0b Read driver in memory before writing it 2006-09-24 22:46:26 +00:00
Laurent Vivier
51c32ac892 Get the partition size and write all the content of the driver partition to the file 2006-09-24 22:24:02 +00:00
Laurent Vivier
c3e57818e4 Fixe temporarily size of Apple_Driver partition 2006-09-23 22:28:12 +00:00
Laurent Vivier
13c80d5e27 Set some default value found on install CD of MacOS 7.6 2006-09-23 22:13:26 +00:00
Laurent Vivier
c54484befc Display patch info 2006-09-23 22:09:08 +00:00
Laurent Vivier
7a0405a53f add iso9660:(sd3) before kernel and ramdisk path 2006-09-20 23:29:44 +00:00
Laurent Vivier
723a50c993 modify emile_second_set_param() to not check if bootblock is present, checking is moving before call 2006-09-20 23:28:53 +00:00
Laurent Vivier
2438e1a8c0 Display where second level is 2006-09-20 23:08:48 +00:00
Laurent Vivier
20bf00341d emile-mkisofs.c 2006-09-20 22:42:48 +00:00
Laurent Vivier
53f4028182 use emile_first_set_param_scsi_extents 2006-09-20 21:52:16 +00:00
Laurent Vivier
0e2fed5a0f Display driver type using hex, not dec 2006-09-20 21:51:00 +00:00
Laurent Vivier
1bb375da59 Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
Laurent Vivier
8113b3e654 allow to provide disk and partition on command line (like "/dev/cdrom 1" instead of "/dev/hdc1" 2006-09-13 21:33:49 +00:00
Laurent Vivier
9d5ff84740 Check map can be opened 2006-09-13 20:39:55 +00:00
Laurent Vivier
b0838c149a base is given using block size of 2048 (ISO9660), but SCSI uses block size of 512, so base is multiplicated by 4 2006-09-12 00:59:59 +00:00
Laurent Vivier
916b8de203 allow to set manually blocks to load for second 2006-09-12 00:58:31 +00:00
Laurent Vivier
5596502a8d option '-i' allows to dump start base and size of given file 2006-09-09 21:25:35 +00:00
Laurent Vivier
9aa7430439 allow to read image file instead of /dev/cdrom 2006-09-08 22:57:36 +00:00
Laurent Vivier
91b49f5e6b Allow to define the path of the second level 2006-09-08 21:17:13 +00:00
Laurent Vivier
bcbeb89ac4 Remove unneeded check on parameters 2006-06-05 22:29:17 +00:00
Laurent Vivier
d449f26966 allow to kernel path, ramdisk path 2006-06-02 11:45:10 +00:00
Laurent Vivier
8406b30f6d Add emile_secont_set_param(), emile_get_dev_name(), and preliminary ramdisk management 2006-06-01 23:36:57 +00:00
Laurent Vivier
5d238a87d0 use emile_second_set_param() and emile_second_get_param() 2006-06-01 23:23:42 +00:00
Laurent Vivier
cf1f03dd19 change emile_scsi_get_dev() API 2006-06-01 22:19:52 +00:00
Laurent Vivier
a3f46bd6c8 modified to be able to read info from an image like from a block device 2006-05-30 21:21:31 +00:00
Laurent Vivier
e23b98e394 Allow to examine a given device 2006-05-29 22:17:46 +00:00
Laurent Vivier
dc17cc55f7 More checking on function return 2006-05-29 20:23:18 +00:00
Laurent Vivier
0b6dcf91f1 Allow to scan ATA bus, ignoring non allocated device (to jump from hda to hdc even if there is no hdb) 2006-05-29 19:10:48 +00:00
Laurent Vivier
e910ef344e correct floppy case 2005-12-12 22:14:52 +00:00
Laurent Vivier
a90a4c3e23 correct --set-hfs 2005-12-12 07:59:06 +00:00
Laurent Vivier
65e7d52cd2 Can change output on second_scsi too 2005-12-05 19:52:48 +00:00
Laurent Vivier
3f843ab7cd Add vga parameter by default in configuration 2005-12-02 00:14:48 +00:00
Laurent Vivier
7dae74d734 remove unused buffer_size 2005-12-01 22:57:33 +00:00
Laurent Vivier
364c09f440 change interface of emile_second_create_mapfile() 2005-12-01 22:16:06 +00:00
Laurent Vivier
caf064dc24 Add device.c gzio.c in SOURCES, device.h in HEADERS, silent dist 2005-12-01 13:51:36 +00:00
Laurent Vivier
2c614bb92d update copyright 2005-11-30 15:31:09 +00:00
Laurent Vivier
cc3e4d9cd7 correct typo for --map 2005-11-29 23:44:48 +00:00
Laurent Vivier
68c6b83ec3 move to EM06 2005-11-29 23:30:50 +00:00
Laurent Vivier
e09e3164ae temporarily disable scsi creation, obsoleted by EM06 2005-11-29 00:15:30 +00:00
Laurent Vivier
8d2c64e23f Use EM06 header 2005-11-28 23:39:28 +00:00
Laurent Vivier
ca5cef15fd Manage new header (EM06) 2005-11-28 20:56:06 +00:00
Laurent Vivier
448618ccc0 modified for EM06 2005-11-28 00:19:54 +00:00
Laurent Vivier
6e81f25305 add -I../libcontainer for libstream 2005-11-26 08:41:34 +00:00
Laurent Vivier
1aa1aed83a Add gzopen() prototype 2005-11-26 08:40:53 +00:00
Laurent Vivier
d3ae348d71 Add gzopen() prototype and correct some printf format 2005-11-26 08:40:31 +00:00
Laurent Vivier
ee6d28c91f Add libstream 2005-11-21 22:09:43 +00:00
Laurent Vivier
bce8a698c5 Add libstream-like interface 2005-11-21 22:09:16 +00:00
Laurent Vivier
8a104ca7ca Add iso9660_VOLUME 2005-11-21 22:07:17 +00:00
Laurent Vivier
672a59c142 add read_vmlinuz.c 2005-11-17 13:23:34 +00:00
Laurent Vivier
29e60b8681 uncompress and read ELF 2005-11-17 13:23:07 +00:00
Laurent Vivier
1d46991bab device.c header 2005-11-16 14:03:30 +00:00
Laurent Vivier
1b2b96804c Import from zlib-1.2.3 2005-11-14 23:24:08 +00:00
Laurent Vivier
aed2d777a0 change device interface 2005-11-13 19:43:28 +00:00
Laurent Vivier
e421b248fc Add iso9660 tools 2005-11-12 22:28:50 +00:00
Laurent Vivier
652d8bee27 Add targets install, uninstall and dist 2005-11-08 02:17:41 +00:00
Laurent Vivier
8efc25ca70 smarter --gestaltid 2005-09-10 00:06:08 +00:00
Laurent Vivier
b5c3418abf Allow to set/unset gestaltid alone 2005-09-09 23:50:30 +00:00
Laurent Vivier
a1d0dcba79 Correct typo in usage 2005-08-27 21:54:24 +00:00
Laurent Vivier
713ca6ad89 move to version 5 of header: kernel_size == kernel_image_size means uncompressed 2005-06-09 19:55:12 +00:00
Laurent Vivier
1d1e1e5bd7 Add CROSS_COMPILE to cross-compile tools 2005-05-10 20:20:15 +00:00
Laurent Vivier
88b858679e Add put_driver() 2005-05-09 22:18:21 +00:00
Laurent Vivier
277cc9ffde Add partition boot info 2005-02-03 16:04:41 +00:00
Laurent Vivier
43eee2c466 add emile_scanbus to emile-map-set 2005-02-02 16:46:08 +00:00
Laurent Vivier
46da9c1017 Add --get-driver 2005-02-02 14:47:49 +00:00
Laurent Vivier
efcd323152 block_size is used in drivers section (block0) otherwise use 512-byte block 2005-02-01 23:21:06 +00:00
Laurent Vivier
afab5c5f43 Add --scanbus 2005-02-01 20:34:00 +00:00
Laurent Vivier
3441475b77 get block_size even if we aren't in verbose mode 2005-02-01 20:29:11 +00:00
Laurent Vivier
1ce4925be6 Correct drivers info when block size is not 512 (i.e. CDROM) 2005-02-01 19:48:33 +00:00
Laurent Vivier
c3f49c0382 activate emile_map_partition_set_flags and emile_map_set_partition_type 2004-12-27 22:34:59 +00:00
Laurent Vivier
45201900ef correct restore and backup parameters 2004-12-27 22:32:18 +00:00
Laurent Vivier
3c95e71ca8 display bootblock info even if not bootable 2004-12-27 21:45:09 +00:00
Laurent Vivier
f21fd88ead replace emile-set-startup by emile-map-set 2004-12-27 21:39:19 +00:00
Laurent Vivier
c43e184cff moved to emile-map-set.c 2004-12-27 21:20:11 +00:00
Laurent Vivier
e893a1c9ba correct Apple_HS and --set-hfs 2004-12-27 01:32:03 +00:00
Laurent Vivier
a67a546c6c open file on --test, check it can... 2004-12-26 20:12:44 +00:00
Laurent Vivier
63a8d52768 Add --getinfo 2004-12-25 00:48:29 +00:00
Laurent Vivier
9d2e1f38c2 use getopt() 2004-12-24 23:43:44 +00:00
Laurent Vivier
c8732a8d43 remove emile-first-info.c 2004-12-24 23:03:47 +00:00
Laurent Vivier
1cb4278688 Move info emile-first-tune.c 2004-12-24 23:03:13 +00:00
Laurent Vivier
46bef4183b use getopt(), move code from emile-first-info.c 2004-12-24 23:01:14 +00:00
Laurent Vivier
24baafee89 use getopt() and emile_get_uncompressed_size() 2004-12-24 22:34:26 +00:00
Laurent Vivier
4c85e103ed Can work on floppy image or directly on second level binary 2004-12-24 20:12:30 +00:00
Laurent Vivier
97612d63c1 Add usage, some parameters and set bootable HFS partition 2004-12-24 00:10:33 +00:00
Laurent Vivier
f2dea3f3e2 Add set_HFS and set_startup 2004-12-23 23:48:35 +00:00
Laurent Vivier
1d7a624f7d add all stuff to set firt level, second level and boot block, change exit values 2004-12-23 23:24:06 +00:00
Laurent Vivier
ba478e64a2 Add open_map_of() and backup_bootblock() 2004-12-23 22:35:36 +00:00
Laurent Vivier
01cc6d189d Add ARG_TEST, check_is_EMILE_bootblock, check_is_startup, backup_bootblock 2004-12-22 23:14:07 +00:00
Laurent Vivier
1b23f432a4 Add some args, check Apple_Driver, checj Apple_HFS 2004-12-22 00:29:25 +00:00
Laurent Vivier
5558c361fb move seek_partition() to libemile 2004-12-22 00:28:24 +00:00
Laurent Vivier
2574f16a80 display part flags in verbose mode 2004-12-21 17:35:34 +00:00
Laurent Vivier
0821beab8f Add emile-set-startup 2004-12-21 17:35:10 +00:00
Laurent Vivier
5d60ee8c95 First revision 2004-12-21 17:34:30 +00:00
Laurent Vivier
49cdb5aa59 Add -g in CFLAGS 2004-12-21 15:17:37 +00:00
Laurent Vivier
a8a3fb19ab add print_size() 2004-12-21 15:16:11 +00:00
Laurent Vivier
6eeecaf3ce Add emile_scanbus and PREFIX 2004-12-16 23:28:43 +00:00
Laurent Vivier
a226a841ca scanbus support 2004-12-16 23:27:50 +00:00