Axel Dörfler
7416092b83
Marcus spotted an error in the cylinder calculation in get_drive_parameters() - didn't
...
have an effect on floppies or CD-ROMs, but would have on real hard drives that require
CHS access.
Changed the cylinder-to-regs conversion in BIOSDrive::ReadAt() (that one was actually
correct) to make it look similar to the conversion in the opposite direction in
get_drive_parameters().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 09:25:45 +00:00
Axel Dörfler
b093987a7b
tarfs is now maintaining a node ID and got all methods that its entries are statable.
...
Renamed TarFS::Node to TarFS::File to correctly name the class hierarchy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 09:23:00 +00:00
Stefano Ceccherini
e7dfacc2b4
Fixed a typo which caused a bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 08:16:45 +00:00
Stefano Ceccherini
cf5a014940
Merged two case blocks, thus removing some duplicated code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 20:44:54 +00:00
Jérôme Duval
060d9206d9
added some netdebug and netconfig files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 15:49:30 +00:00
Rudolf Cornelissen
4e918a7c19
comment updates. BT TVout on TNT1 completed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 15:13:17 +00:00
Rudolf Cornelissen
f2069d6c5c
shifted NTSC640x480 desktop mode 7 pixels to the left so rightmost pixels are now visible.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 14:37:47 +00:00
Axel Dörfler
0ecc530bf0
TAR fs is now also working correctly in the real boot loader.
...
Some more cleanup and better error output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 14:06:11 +00:00
Axel Dörfler
8d156f1c5e
Fixed a bug with the offset handling in BIOSDrive::ReadAt().
...
Implemented CHS support needed for smaller hard drives, CD-ROM, ...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:45:23 +00:00
Axel Dörfler
e83ba2ee32
Enlarged the boot loader's heap area to 64kB needed for the tarfs.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:43:13 +00:00
Axel Dörfler
4cc5dde4a7
Updated memory layout comment.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:40:58 +00:00
Axel Dörfler
0eecdd8334
Made the page table allocation/filling mechanism a bit more flexible and less error prone.
...
Also, freeing regions is now supported (but still only the last allocated region can be
freed, as that's currently good enough).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:37:18 +00:00
Jérôme Duval
a26988784a
added _fseek for R5 compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 15:52:35 +00:00
Jérôme Duval
e289737816
added some legacy functions for ftpd and telnetd
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 15:51:23 +00:00
Stefano Ceccherini
77e79df0f7
Added a comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 14:41:02 +00:00
Jérôme Duval
42848b0907
added index and rindex to libroot.so
...
R5 ftp and telnet commands now run on Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 13:05:03 +00:00
Waldemar Kornewald
6fe225bce4
Changed email address, nothing special.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:11:12 +00:00
Waldemar Kornewald
1dd511e38b
Added ppp_up. Still in need of nice icons for the replicant.
...
Untested.
This also fixes makehdimage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:07:22 +00:00
Waldemar Kornewald
a89ad654b0
Thank you, Kristian Knuechel, for reporting a bug (now fixed).
...
Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:06:12 +00:00
Stefano Ceccherini
dea7a63c17
Some changes in _HandleDirectConnection(). Not tested. Could even fix the relative crashing bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 22:32:27 +00:00
Jérôme Duval
53297d1714
ui_color has to provide values even when no be_app has been created
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 22:11:50 +00:00
Stefano Ceccherini
1fbd158e8b
_HandleDirectConnection() now fills the direct_buffer_info structure. Clipping info is probably wrong. dw_info works, direct_window_test crashes for some reason
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:37:47 +00:00
Jérôme Duval
21b29fb2ef
changed B_ANY_KERNEL_ADDRESS to B_ANY_ADDRESS, as our kernel doesn't allow user applications to create kernel areas
...
added some error logs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:27:20 +00:00
Jérôme Duval
d40a708ed3
added ASSERT checks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:09:28 +00:00
Rudolf Cornelissen
6245f19cbe
updated PAL VCD mode (768x576 overscanning) to center better: there was a vertical black bar on the right side of the screen (tested with TNT1 on a 4:3 TV.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 19:44:48 +00:00
Waldemar Kornewald
6e17c55acc
Bye, bye, poor net_server. :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:17:18 +00:00
Adi Oanca
33691ce0ac
Removed NEW_INPUT_HANDLING define and the old code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:11:25 +00:00
Rudolf Cornelissen
9b394aa248
programming register PLLSEL as being write-only on singlehead cards. This fixes cursor offset to the left (some 4 pixels) on TNT1 (at least) compared to screen content, along with the missing pixels on the right side of the TVscreen in Desktop modes. Also fixes 'random' extra horizontal offsets on the screen(s). Looks like TVout for BT/CX is now exactly the same as with BeTVOut. (Note BTW that BeTVOut nolonger works correctly alongside this driver because this driver now programmes the encoder itself as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 13:24:53 +00:00
Michael Lotz
7e7b081cba
This should fix hanging keyboards when no ps2 mouse is connected. We also stop publishing devices we didn't explicitly find. This disables the questionable hot-plug support but keeps the input_server from stalling the keyboard by probing the non-present mouse.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 12:02:58 +00:00
Jérôme Duval
a8ce6e191f
fixed the build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 10:16:18 +00:00
Stefano Ceccherini
ef06444893
Implemented basic server side support for BDirectWindow. It doesn't fill the direct_buffer_info struct correctly, it just sends B_DIRECT_START/STOP messages on show/hide for now. Tested with dw_info
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 05:25:52 +00:00
Axel Dörfler
a88fdc5722
Added tarfs to the boot loader test application as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 01:20:00 +00:00
Axel Dörfler
83333bf237
Missed those with the previous commit: added tarfs to the boot loader build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 01:17:48 +00:00
Axel Dörfler
0428a0ddc4
Now loads the maximum size of zbeos when booted from a floppy or CD.
...
Note, this value should be patched by the build system to the actual size
of zbeos - but since we don't have this mechanism in place yet, the maximum
value is probably the best default, even if it should slow down a floppy
boot considerably.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 00:21:37 +00:00
Axel Dörfler
85a53ea280
The boot loader now has tarfs support needed for booting from CD-ROM.
...
It expects the zipped TAR at offset 192 kB on the boot image.
This work was mostly done by Ingo during BeGeistert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 00:17:59 +00:00
Jérôme Duval
b67b9d8c87
outputs actual error in stderr
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:30:14 +00:00
Jérôme Duval
276ac902b7
added actual error in stderr
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:27:47 +00:00
Jérôme Duval
f101f76fc7
added a check of BBufferGroup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:25:48 +00:00
Jérôme Duval
09bae796d2
improved visuals
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:23:32 +00:00
Waldemar Kornewald
abdb7d1abb
- updated email-address
...
- removed profiles, ppp_up, and some TODOs
- simplified KPPPReportManager and reports API, KPPPInterface::Up()+Down(), and PPPInterfaceListener (also removed some features from the last one)
- KPPPInterface now sends the last PPP_CONNECTION_REPORT message to every newly registered report receiver
- added net_server to the build, but removed old net_server testing-stuff
all changes are completely untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 15:11:36 +00:00
Stefano Ceccherini
85a1a67495
Workspace has a display_mode member where it stores the settings. Removed unused [Set]LocalSpace() methods, added Set/GetDisplayMode() methods
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-08 16:44:28 +00:00
Adi Oanca
b961b59696
- replaced Layer::get_user_regions with _GetWantedRegion()
...
- replaced Layer::alter_visible_for_children with _ReserveRegions()
- simplified a bit Layer::rebuild_visible_regions()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-07 16:05:22 +00:00
Stephan Aßmus
994ae14bb5
a couple of fixes for determining transparent pixels with regard to dithering, new auto transparency mode (from alpha channel) replaces nonsense index mode (the index mode is nonsense, because there is no control over which color gets which index, therefor, the user is better of specifying the specific color, which is supported)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 23:22:41 +00:00
Axel Dörfler
ece4feca93
Use snprintf() instead of sprintf().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 20:40:00 +00:00
Axel Dörfler
eddf43dd76
Added missing clock() function.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 17:33:10 +00:00
Rudolf Cornelissen
57ba12dcf6
updated docs. Note BTW that TVout support is still 'experimental' and under development.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:57:31 +00:00
Rudolf Cornelissen
b0fce4813c
enabled full TVout support on singlehead cards for the supported encoders, dualhead cards now display the testimage in the selected TVout mode. LCD panels are now taken into consideration and should work with the code enabled, though not (correct) while TVout is active (hardware limitation I expect). DPMS off for panels and CRT's while doing TVout is still lacking. I tested all video modes on a TNT1 with BT869: work beautifully: exactly like with BeTVOut. I'm glad I had that done already.. :). For singlehead cards I need to update some prefs panel program to be able to set the Desktop TVout modes (Dualhead setup tweak for now I think). Bumped version to 0.55. Enjoy...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:56:53 +00:00
Jérôme Duval
c495f81aab
added some debug PRINT
...
inited fChars to null
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:43:21 +00:00
Adi Oanca
88ef6ce8fe
- fixed build for NEW_CLIPPING define
...
- implemented RootLayer::SetActive(WinBorder*).
- added support for BWindow::Activate(). I realize now that I only added support for Activate(true). :-D In the next days I will add support for Activate(false).
- removed a few cases from ServerWindow as they are not needed.
- addapted WinBorder::MouseDown() to work with the new RootLayer::SetActive() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 10:45:46 +00:00
Rudolf Cornelissen
0b36eea44d
completed experimental TVout support for singlehead cards using BT868/869, Conexant CX25870/CX25871 chips. As setups with laptop or DVI panels will probably mess up, it's still disabled apart from enabling a testimage. Now starting actual testing..
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 10:12:56 +00:00