Georges Dupéron
51de94c2f3
Use [[:space:]] instead of \s
2018-07-25 09:50:10 +02:00
Georges Dupéron
0371e15dbd
macos: compatibility with wc
2018-07-25 09:50:10 +02:00
Georges Dupéron
3d8aff7eb2
Enabled warnings in nasm
2018-07-25 09:50:10 +02:00
Georges Dupéron
bc45cee11c
os.offsets was missing the offset name
2018-07-25 09:50:10 +02:00
Georges Dupéron
992766f139
macos: Use gdisk for all partitioning tasks, show gdisk commands for readability
...
Since the mac version of fdisk does not behave exactly like the linux one (sequence of text-mode menus), use gdisk for all tasks.
2018-07-25 09:50:07 +02:00
Georges Dupéron
04c09545d3
macos: brew install mkisofs, mtools, imagemagick, gdisk
2018-07-24 23:39:52 +02:00
Georges Dupéron
aad6ef80d2
Ensure that Travis collapses the output of the commands
2018-07-24 23:39:22 +02:00
Georges Dupéron
229e259fe4
macos: don't use a NASM label named loop, don't use …
syntax for strings with C-style escapes
2018-07-24 23:39:22 +02:00
Georges Dupéron
79fd39e7cb
Print tool versions in Travis
2018-07-21 23:20:19 +02:00
Georges Dupéron
1cbc87a562
macos: sed compatibility
2018-07-21 23:20:15 +02:00
Georges Dupéron
d141c103d6
Initial attempt for macos support
2018-07-21 23:20:08 +02:00
Georges Dupéron
53798d6ee1
Moved makefile one level up (part 2: modify), rearchitectured the offset calculation to use temporary files, so that dependencies are easier to express.
2018-07-11 18:01:13 +02:00
Georges Dupéron
f53fea6d5d
Moved Makefile one level up (part 1: rename)
2018-07-11 15:06:16 +02:00
Georges Dupéron
47a7cf82b1
There seems to sometimes be an issue when creating the animation with the parallel build. Added more debug output, increased timeout.
2018-07-09 00:22:37 +02:00
Georges Dupéron
c5a140661d
Increase delays to avoid the black bakground
2018-07-08 23:10:30 +02:00
Georges Dupéron
8f02777c59
Travis should run all the tests in self-test mode
...
Previously the Makefile target all depended on test, but it's the other way
round now
2018-07-08 22:31:23 +02:00
Georges Dupéron
b2ab5b464d
Chameleon: the OS is now also a GPT-partitioned disk image (with a small quirk)
...
The quirk is that the ZIP trailer is inserted after the end of the
GPT-partitioned space, but GPT normally covers the whole disk.
This image is intended to be burned on a CD, flashed onto a floppy, USB key or
SD card. In these last two cases (where the GPT would make sense), the end of
the disk cannot be known in advance, so an incorrectly-placed GPT mirror is
not quite unexpected.
2018-07-08 22:26:08 +02:00
Georges Dupéron
a1a80feeea
Remove artificial slowdown of ansi screenshots, use an ASCII character instead of an UTF-8 one to avoid corruption by travis. Cleanup.
2018-07-08 22:14:12 +02:00
Georges Dupéron
51189eb2cb
Fixed typo in README.md paths
2018-07-08 17:44:31 +02:00
Georges Dupéron
7fcabc9ff2
Chameleon: the OS is now also an ISO9660 CD-ROM image
2018-07-08 17:01:56 +02:00
Georges Dupéron
dc362b52be
Chameleon: the OS is now also a zip file.
2018-07-08 11:34:47 +02:00
Georges Dupéron
893a9b9d93
Added partition table to OS image, automatically format the first partition using FAT12
2018-07-08 02:58:10 +02:00
Georges Dupéron
d56b7442a4
Identify file format(s), disassemble as ARM binary (results show that it is not useable as a binary kernel image)
2018-07-08 00:11:43 +02:00
Georges Dupéron
7b5a320bc0
Cleanup temporary files, put twm session file in a temporary directory instead of ~
2018-07-07 18:50:11 +02:00
Georges Dupéron
184d52101e
Use twm instead of fluxbox, as fluxbox insists on drawing a background, and any configuration attempt fails half of the time.
2018-07-07 18:09:58 +02:00
Georges Dupéron
5daa80a125
Fixed typo (missing "test" command); moved screenshot loop to a separate script
2018-07-07 16:06:30 +02:00
Georges Dupéron
4c5c0cfa53
Don't create .gif if no screenshots were taken
2018-07-05 22:41:02 +02:00
Georges Dupéron
059fc30af1
Save an animation to help with debugging, increase delay after fbsetbg
2018-07-04 01:30:21 +02:00
Georges Dupéron
0eb453bebb
Add a small delay after fbsetbg
2018-07-04 00:53:00 +02:00
Georges Dupéron
d5464b0227
Use fbsetbg since the fluxbox version on Travis consistently overwrites configuration files with the defaults
2018-07-04 00:30:27 +02:00
Georges Dupéron
118be99a3a
Save screenshots for master and dev, in separate branches
2018-07-03 22:01:29 +02:00
Georges Dupéron
74ce426c80
.travis.yml: move self-test so that it runs first, factor out common APT packages
2018-07-03 20:28:24 +02:00
Georges Dupéron
dede351e63
Fix fluxbox wallpaper (and change it to be a checkerboard)
2018-07-03 20:02:43 +02:00
Georges Dupéron
f1b58e16c2
Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process)
2018-07-03 19:57:54 +02:00
Georges Dupéron
5d42b3e99f
Repeat common apt packages everywhere, since I don't know how to append to the list only
2018-07-03 19:55:57 +02:00
Georges Dupéron
9ec290845a
Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process)
2018-07-03 19:44:10 +02:00
Georges Dupéron
23e9889a50
Added two more tests: running under dosbox and as a shell script
2018-07-03 19:22:52 +02:00
Georges Dupéron
5e6f566671
Install only the required emulators for each Travis job
2018-07-03 18:52:26 +02:00
Georges Dupéron
12e1e675e1
Small bugfix in the makefile (mkdir -p), execute test when make all is invoked
2018-07-03 18:51:06 +02:00
Georges Dupéron
fc464c71c0
Refactored the test targets in the Makefile, use this in .travis.yml instead of duplicating the commands
2018-07-03 18:50:58 +02:00
Georges Dupéron
e83e2cf69b
Moved installation scripts out of .travis.yml
2018-07-03 18:47:39 +02:00
Georges Dupéron
c32232bfad
Fixed typo: .PHONY depended on Makefile, but the target should depend on Makefile instead
2018-07-03 18:10:47 +02:00
Georges Dupéron
63624488e9
os.bat is now a triple chameleon: MS-DOS .bat, Unix .sh and x86 bootable floppy disk image
2018-07-03 17:50:04 +02:00
Georges Dupéron
ca7882fd2d
Change OS filename: os.sh -> os.bat
2018-07-03 17:49:22 +02:00
Georges Dupéron
64971229f3
Made the os.sh a chameleon: it is now an x86 bootsector and a shell script at the same time.
2018-07-03 17:20:24 +02:00
Georges Dupéron
4edc0a7177
Delay failure of sikuli, so that a screenshot can still be taken.
2018-07-03 17:19:54 +02:00
Georges Dupéron
272177fbf7
Moved compact ndisasm to a separate file so that it can be called in several places
2018-07-03 17:18:09 +02:00
Georges Dupéron
9917f2dfda
fixup! Disassemble the OS (use a compact representation for repetitive parts), re-assemble and check that the result is identical.
2018-07-03 15:09:28 +02:00
Georges Dupéron
96727b4241
Enable error-detection (set -e) in all .sh scripts
2018-07-03 15:06:32 +02:00
Georges Dupéron
d812fc27bd
Disassemble the OS (use a compact representation for repetitive parts), re-assemble and check that the result is identical.
2018-07-03 15:04:10 +02:00