Stephan Aßmus
9d570aa4dd
Some drawing mode implementations actually use the color
...
passed to the pixel format methods. Don't use a dummy color
for drawing dots. (Untested, but should fix Clockwerk time
line objects drawing)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38955 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38955
2010-10-12 09:48:12 +00:00
François Revol
0128537395
Cleanup leftover atari code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38954 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38954
2010-10-12 09:12:59 +00:00
Alex Wilson
675ffabd70
Layout update for LookTest, fixes #6648 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38953 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38953
2010-10-12 08:49:18 +00:00
François Revol
7171eb5907
Actually it seems using HD ADF image is what is causing this issue with 6 sectors. Using DD images seems to work fine.
...
Fix panic(). Now panic() in _start.
To try it, do :
TARGET_BOOT_PLATFORM=amiga_m68k jam -j1 -q haiku_loader
dd if=/dev/zero of=haiku.adf count=1760
dd if=generated/objects/haiku/m68k/release/system/boot/haiku_loader of=haiku.adf conv=notrunc
uae -s floppy0=haiku.adf -s cpu_type=68020/68881 -s chipmem_size=8 -i
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38952 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38952
2010-10-12 00:20:53 +00:00
François Revol
52d6ea00ea
Adapt the putx routine from atari code to update the string for the alert with a code. Use it to indicate remaining sectors to read on error.
...
It seems DoIO() fails after 6 sectors. Could it have something to do with side handling ? I hope I won't have to dig trackdisk.device specific stuff...
Anyway even with 6 sectors read, the boot code now calls _start() successfully. Use _floppy_err_alert() to assert this until the copying is fixed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38951 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38951
2010-10-11 23:33:01 +00:00
Jérôme Duval
de66992b72
* added support for huge_file feature, untested (need a >2TB file)
...
* actually checks for readonly features if mounting read-write
* don't use a journal when mounting readonly
* DataStream::_BlocksNeeded(): in case of double or triple indirects,
compute the additional blocks needed using the difference between the
old and new indirects blocks. This was resulting in a bad NumBlocks on an inode
* BitmapBlock: mark methods missed an iteration when the startingBit was zero.
Some blocks were then allocated two times (at most 32 for each allocation run).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38950 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38950
2010-10-11 19:58:46 +00:00
Matt Madia
b0ce12a2af
Introduced a sanity check for building hybrids. This will cause jam to error
...
when the user attempts to build an incorrectly configured hybrid.
For example a GCC 2 + GCC 2 system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38949 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38949
2010-10-11 17:51:44 +00:00
Philippe Houdoin
5f86ad125d
Relax the copyright...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38948 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38948
2010-10-11 13:39:37 +00:00
Philippe Houdoin
89fa2a8573
Move the boot images conditional selection in one place, to remove
...
possible mismatch images info between loader and kernel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38947 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38947
2010-10-11 12:54:21 +00:00
Philippe Houdoin
3bd99634d1
Make the development boot splash more discret, relaying on the usual
...
quite hidden bug theme.
This also reduce its RLE compression size, which should fix #6710 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38946 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38946
2010-10-11 10:47:06 +00:00
Philippe Houdoin
b2b54ce0f6
Check in BuildFloppyBootImage1 that haiku_loader could actually fit
...
before the image archive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38945 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38945
2010-10-11 10:23:22 +00:00
François Revol
7ddba3d2ad
s/amicalls/rom_calls/
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38944 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38944
2010-10-10 20:44:33 +00:00
François Revol
4543fd0ef6
Define the needed Library Vector Offsets in the header and use them from the asm.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38943 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38943
2010-10-10 20:41:41 +00:00
François Revol
396a612a64
Better error codes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38942 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38942
2010-10-10 20:27:46 +00:00
François Revol
1d4497a8f6
The Coding Style Police is much more efficient than the HADOPI...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38941 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38941
2010-10-10 20:18:07 +00:00
François Revol
84092eea1a
Fix warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38940 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38940
2010-10-10 18:33:00 +00:00
François Revol
aed95f3c6c
Also checksum the bootsector in the Atari version of haiku_loader.
...
Remove duplicate of the checksum tool.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38939 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38939
2010-10-10 18:28:07 +00:00
François Revol
06abf33747
Add a rule to checksum the bootblock inside haiku_loader for Amiga. It seems Jam correctly runs the action after creating the file, though I'm not sure it's correct with respect to jam -j.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38938 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38938
2010-10-10 18:19:02 +00:00
François Revol
91d95c16eb
Clone atari platform args headers. This gets the Amiga loader to link.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38937 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38937
2010-10-10 18:16:16 +00:00
Oliver Tappe
72cf60a534
* replace glibc-base wcwidth() and wcswidth() with the one from
...
Bruno Haible's libunistring, which seems to work just fine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38936 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38936
2010-10-10 17:49:09 +00:00
François Revol
398144a1b4
We don't need dos.library here.
...
Open intuition.library correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38935 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38935
2010-10-10 16:14:58 +00:00
Oliver Tappe
fdb863b626
* added tests for wcwidth() to locale_test that expose the pretty
...
drastic failure to handle anything else than ascii chars.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38934 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38934
2010-10-10 15:07:36 +00:00
François Revol
3b939cb0b6
Comment out atari stuff.
...
Initialize SysBase and IntuitionBase that will be needed by C++ code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38933 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38933
2010-10-10 14:18:05 +00:00
François Revol
918ac85f32
Comment out atari stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38932 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38932
2010-10-10 14:15:10 +00:00
François Revol
816efc4097
Seems gas doesn't like the syntax from the syscall macros, prefixing a6 with %% helps. Add some Exec calls and the Intuition call needed for panic().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38931 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38931
2010-10-10 14:14:41 +00:00
François Revol
788565c49a
Copy the Atari bootloader ldscript.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38930 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38930
2010-10-10 14:10:49 +00:00
François Revol
7030ac1279
Library call macros from fd2pragma Include/inline/macros.h. The header has no copyright claims, and there is no point in rewriting this anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38929 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38929
2010-10-10 13:29:27 +00:00
François Revol
7364eb8e9b
Remove Atari stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38928 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38928
2010-10-10 13:15:39 +00:00
François Revol
648d00c49c
Those are C++ files now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38927 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38927
2010-10-10 13:15:16 +00:00
François Revol
fb6b9ae341
Remove Commodore code and rewrite. Hate wasting time on this...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38926 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38926
2010-10-10 13:03:19 +00:00
François Revol
6ed98199f1
Amiga is just an Atari clone :-P
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38925 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38925
2010-10-10 12:42:18 +00:00
François Revol
acb1d6c8e0
s/tos/ami/g;s/ATARI/AMIGA/g
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38924 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38924
2010-10-10 11:27:52 +00:00
François Revol
2231a4e6a3
Copy some more from Atari.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38923 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38923
2010-10-10 11:22:50 +00:00
François Revol
9c720d59e3
Copy Handle stuff from Atari.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38922 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38922
2010-10-10 11:20:55 +00:00
François Revol
4ae92968ab
Stub out some more of the platform code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38921 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38921
2010-10-10 11:16:46 +00:00
François Revol
1ae25236b2
Some useful Amiga API definitions. We'll just stuff what we need in there from all the SDK headers. More to come.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38920 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38920
2010-10-10 11:09:51 +00:00
François Revol
b780f56676
Add some amiga code from stage1.S.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38919 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38919
2010-10-10 11:07:14 +00:00
François Revol
92d1f05e9a
Cleanup. Some more tries.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38918 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38918
2010-10-10 11:05:05 +00:00
François Revol
f3ab95c889
Fix ROM base. On Amiga the first page is a bit special but it should still be mapped at boot time. Will need more checks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38917 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38917
2010-10-10 11:04:25 +00:00
François Revol
12760a5cc9
Copy the Atari memory map for Amiga.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38916 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38916
2010-10-10 09:23:09 +00:00
Michael Pfeiffer
08af89feda
* The add-on additionally to the print_server gets loaded by printer
...
add-ons too. The USBPrinterRoster thread has to be stopped before
the transport add-on gets unloaded.
This fixes the bug described in ticket #6008 that a page gets printed
again and again.
* Added comment that the add-on might access a deleted object if the printer
get disconnected during printing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38915 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38915
2010-10-10 09:09:51 +00:00
François Revol
7fbfbc1dac
Cleanup. Offsets were wrong for dos.library.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38914 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38914
2010-10-10 02:00:14 +00:00
François Revol
948720fa91
cpu-specific mmu files are in arch/m68k now. Remove leftover atari prg stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38913 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38913
2010-10-10 01:04:36 +00:00
Matt Madia
e6e5634b43
Reverted r38875, as this caused /bin to become an actual directory in /boot.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38912 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38912
2010-10-10 00:19:52 +00:00
François Revol
ca7ec01422
Use cpu-specific mmu code from arch/m68k.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38911 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38911
2010-10-09 23:38:09 +00:00
François Revol
33c4ca7e1d
The mmu code is almost not platform specific. Copy it to arch/m68k for now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38910 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38910
2010-10-09 22:03:37 +00:00
François Revol
2830084019
More tries at doing something useful in the boot sector... For now it displays a welcome message.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38909 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38909
2010-10-09 21:38:50 +00:00
François Revol
646e14e5e9
Clone the atari shell code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38908 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38908
2010-10-09 20:57:39 +00:00
Clemens Zeidler
975a7dd89d
Make the stacked tab length a bit bigger and only cut the string at the end if the tab becomes small.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38907 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38907
2010-10-09 20:57:15 +00:00
François Revol
408aa82a13
Fix comment.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38906 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev38906
2010-10-09 20:55:01 +00:00