History log of /haiku/src/system/boot/platform/atari_m68k/shell.S
Revision Date Author Comments
# e5081da4 04-Nov-2011 François Revol <revol@free.fr>

Large cleanup of the bootloader shell code. Replaced the x86 comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 34dc9962 20-Nov-2010 François Revol <revol@free.fr>

Update copyrights.
Btw Axel, keyboard.cpp (forked from the bios_ia32 one) is still under "OpenBeOS licence" with 2 other copies, I suppose you are ok to change to MIT ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3f64d44 19-Nov-2010 François Revol <revol@free.fr>

Add a comment about why we currently force floppy boot when started from haiku.prg.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39493 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 408aa82a 09-Oct-2010 François Revol <revol@free.fr>

Fix comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12442ce5 28-Apr-2009 François Revol <revol@free.fr>

- add a gBootDriveAPI variable telling which method was used to load,
- move gBoot* out of the boot sector,
- fix the FAT params to actually indicate 1.44kB floppy,
- fix the FloppyDrive class to also use 18 sectors/track, so now tarfs won't get data from start of disk when on the middle.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4fd79012 26-Apr-2009 François Revol <revol@free.fr>

Finally managed to get floppy boot working for Atari \o/
- loop on Floprd() alternating sides every sect/track, currently hardcoded from the FAT bootblock as probing like the NetBSD loader asserts ARAnyM,
- print a dot / sector read in the great tradition of bootloaders,
- set gBootedFromImage correctly,
- fix the script, make it jam later on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30455 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 901b8dd2 26-Apr-2009 François Revol <revol@free.fr>

No reason to keep the .prg startup asm code inside the first 512 bytes, this frees up some space for the floppy code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 317bd7dd 03-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
update them yet, as we'll probably do so anyway at some point. Also, I think
we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93861ead 09-Oct-2008 François Revol <revol@free.fr>

Better floppy media descriptor for the fake FAT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27937 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b75f915a 23-Jun-2008 François Revol <revol@free.fr>

Some fixed...
Stack grows downward on m68k!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b45b3d7d 23-Jun-2008 François Revol <revol@free.fr>

- move prg ldscript where it belongs.
- added rule for boot .prg, no need to do it by hand :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26099 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82d4bfa3 25-Jan-2008 François Revol <revol@free.fr>

* better debug output
* tries for real hw.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23744 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 588b2cd4 17-Jan-2008 François Revol <revol@free.fr>

* Fix natfeat debugprintf, it actually works now.
* XHDI fixes, unfinished.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23593 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ef900d3 15-Jan-2008 François Revol <revol@free.fr>

It's working \o/
Now starts doing stuff in the loader when bootstrapping the .prg from ARAnyM.
For now it just dumps the cookies.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23552 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4bcf3f9 15-Jan-2008 François Revol <revol@free.fr>

* Fixes
* More test code
* it actually runs now, till _start.
However, calling TOS from C is broken: we use 32 bit param alignment on funcs, but TOS expects 16 bit... need to use asm macros instead of funcs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23531 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 005ff052 14-Jan-2008 François Revol <revol@free.fr>

* checksum should be ok now...
* also added fake FAT descriptors to avoid crashing TOS, but it doesn't boot yet as floppy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b79ea675 12-Jan-2008 François Revol <revol@free.fr>

* Fixes... it now builds and theorically should work, let's see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23489 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 25044050 13-Jan-2008 François Revol <revol@free.fr>

* jmp is x86...
* make the checksumer build under linux and fix it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23484 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 551d3012 13-Jan-2008 François Revol <revol@free.fr>

* Moved checksum to where it should be.
* Added tool to calculate the checksum (TOS wants a real one to 1234, not aa55).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23483 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4982c437 13-Jan-2008 François Revol <revol@free.fr>

Forgot a param.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 286edb37 13-Jan-2008 François Revol <revol@free.fr>

1st try at floppy bootsector.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23480 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86047718 12-Jan-2008 François Revol <revol@free.fr>

* shell.S must be first


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 110abe94 12-Jan-2008 François Revol <revol@free.fr>

Make it compile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23472 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1e9164f 12-Jan-2008 François Revol <revol@free.fr>

Entry point for .prg / bootfloppy for zbeos.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23471 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5081da48c38c8865ea494696d35ddbae3223aea 04-Nov-2011 François Revol <revol@free.fr>

Large cleanup of the bootloader shell code. Replaced the x86 comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43182 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 34dc99625d99a68273ac46eeb33fab18dfba19b7 20-Nov-2010 François Revol <revol@free.fr>

Update copyrights.
Btw Axel, keyboard.cpp (forked from the bios_ia32 one) is still under "OpenBeOS licence" with 2 other copies, I suppose you are ok to change to MIT ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3f64d4460f053f07af273fde9dffe30ac426634 19-Nov-2010 François Revol <revol@free.fr>

Add a comment about why we currently force floppy boot when started from haiku.prg.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39493 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 408aa82a1347a17b07b02a136152e90687f699c1 09-Oct-2010 François Revol <revol@free.fr>

Fix comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38906 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12442ce54bd4561b7caa94f347f5ea06827f672f 28-Apr-2009 François Revol <revol@free.fr>

- add a gBootDriveAPI variable telling which method was used to load,
- move gBoot* out of the boot sector,
- fix the FAT params to actually indicate 1.44kB floppy,
- fix the FloppyDrive class to also use 18 sectors/track, so now tarfs won't get data from start of disk when on the middle.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4fd790129219be2ef0a42ad21e779018bc0282c3 26-Apr-2009 François Revol <revol@free.fr>

Finally managed to get floppy boot working for Atari \o/
- loop on Floprd() alternating sides every sect/track, currently hardcoded from the FAT bootblock as probing like the NetBSD loader asserts ARAnyM,
- print a dot / sector read in the great tradition of bootloaders,
- set gBootedFromImage correctly,
- fix the script, make it jam later on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30455 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 901b8dd28a90fdd86670be5b718efffbcd9364ae 26-Apr-2009 François Revol <revol@free.fr>

No reason to keep the .prg startup asm code inside the first 512 bytes, this frees up some space for the floppy code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 317bd7dda3eb26d4d24ba5b0a831461119f70d34 03-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
update them yet, as we'll probably do so anyway at some point. Also, I think
we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93861ead3ee93e79e9f60c09555159aee4ab0299 09-Oct-2008 François Revol <revol@free.fr>

Better floppy media descriptor for the fake FAT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27937 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b75f915a2e2bfd7e59e42c0fc904a8e94e8fc4b4 23-Jun-2008 François Revol <revol@free.fr>

Some fixed...
Stack grows downward on m68k!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26109 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b45b3d7dcbed3d636d85cff7657e19419f388de1 23-Jun-2008 François Revol <revol@free.fr>

- move prg ldscript where it belongs.
- added rule for boot .prg, no need to do it by hand :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26099 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 82d4bfa3d7857b9061bbe4f50cc7710488a701cf 25-Jan-2008 François Revol <revol@free.fr>

* better debug output
* tries for real hw.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23744 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 588b2cd4bf73c13d833d51dadf8e15038e053a12 17-Jan-2008 François Revol <revol@free.fr>

* Fix natfeat debugprintf, it actually works now.
* XHDI fixes, unfinished.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23593 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7ef900d3ef376be48b8c59fd03e571d4821cc82b 15-Jan-2008 François Revol <revol@free.fr>

It's working \o/
Now starts doing stuff in the loader when bootstrapping the .prg from ARAnyM.
For now it just dumps the cookies.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23552 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4bcf3f92ca59adc7414cf7ae548b900d008297f 15-Jan-2008 François Revol <revol@free.fr>

* Fixes
* More test code
* it actually runs now, till _start.
However, calling TOS from C is broken: we use 32 bit param alignment on funcs, but TOS expects 16 bit... need to use asm macros instead of funcs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23531 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 005ff052920c3dcc237c8c4e2a56033e048014b2 14-Jan-2008 François Revol <revol@free.fr>

* checksum should be ok now...
* also added fake FAT descriptors to avoid crashing TOS, but it doesn't boot yet as floppy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23525 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b79ea675395166d079650b0808d2d05ee374eeb4 12-Jan-2008 François Revol <revol@free.fr>

* Fixes... it now builds and theorically should work, let's see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23489 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 250440500868d7e0006175c956e105d083e9c0a0 13-Jan-2008 François Revol <revol@free.fr>

* jmp is x86...
* make the checksumer build under linux and fix it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23484 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 551d3012d8d67f56b64559587f77b753c9c216cc 13-Jan-2008 François Revol <revol@free.fr>

* Moved checksum to where it should be.
* Added tool to calculate the checksum (TOS wants a real one to 1234, not aa55).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23483 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4982c437ad183c174afcc752219392a50f9ae982 13-Jan-2008 François Revol <revol@free.fr>

Forgot a param.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 286edb37ca2336a8970b4c5bcd4e9e996babfc8d 13-Jan-2008 François Revol <revol@free.fr>

1st try at floppy bootsector.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23480 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86047718fb1477a27959378ac3b4ee016a6db0b2 12-Jan-2008 François Revol <revol@free.fr>

* shell.S must be first


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 110abe94ebedd497a9256f29ec2cb8b4e533003f 12-Jan-2008 François Revol <revol@free.fr>

Make it compile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23472 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1e9164f9c7b5f181a39f1455ce15e866812e669 12-Jan-2008 François Revol <revol@free.fr>

Entry point for .prg / bootfloppy for zbeos.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23471 a95241bf-73f2-0310-859d-f6bbb57e9c96