flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
f0dder 15 Jun 2004, 00:04
Yes, there's a lot of dilemmas with regards to OS development. I don't think OpenSourcing it is a bad idea, and OSes are actually one of the very few areas where I can accept the GPL license (not that I'm not against OpenSource in general, just GPL). But then you face The Linux Problem (TM) - everybody doing things slightly their own way (and then of course there's the issue of linux building on outdated 70s technology and ideas, but that's another matter
![]() ![]() It's been years since I've worked on my kernel, but I plan on toying a bit with it during summer break (starting by implementing a better debugger frontend for BOCHS, if I can figure out how to do it). And I know that I will certainly focus on other things before writing a GUI! - memory management, process/thread management, etc... although I probably _will_ write some framebuffer code and a VESA driver relatively early (it's an okay testbed for v86 routines anyway ![]() I'm not really expecting to use my kernel for anything though, it's purely for fun, to learn a bit, and refresh x86 systems programming knowledge. Or well, it could be useful to do precise code timing and such, with decent PMC support etc., but... we'll see ![]() *if* I ever get a substantial amount of work done, I surely won't think up my own GUI API though - I'll probably use NanoGUI. I plan to have my own Native API for other stuff though... and perhaps implement wrappers for enough win32 stuff that I can run some console apps (first steps would be hiew32, fasm and nasm, then perhaps even microsoft C++). But dunno how much I'll ever get done - I need to do some schoolwork in the summer break, plus a lot of boozing ![]() |
|||
![]() |
|
Gomer73 15 Jun 2004, 00:39
The boozing is important.
Dang, I checked out the MicroWindows stuff. I downloaded the DOS version since I thought that would be the closest to approximate what menuetos would look like. Man was that crappy is all I can say. Kind of reminds me of windows 3.1 on a really old computer. You can see it redrawing everything and tons of flicker. Compare that to the SolOS gui, and I think the decision is easy. All the best to you on your os programming and boozing during summer break. |
|||
![]() |
|
nere_ikasrearentzat 15 Jun 2004, 02:06
crappy or not, has compatibility with X and win32 apps, and this is a wiser idea than to implement a beautiful asm GUI (note: i respect Ogdan Bontanu´s work, but this is not a subject of beauty, im talking about pragmaticism)
Well, Menuet has a C lib, no? ![]() _________________ Sorry for my english... |
|||
![]() |
|
f0dder 15 Jun 2004, 02:26
Well, Gomer, the website _does_ say the only primitives the code relies on are pixel,line,blit - hard to get good performance with that
![]() nere: sounds like some work would have to be done on MicroWindows, though, before it's all that useful? ![]() |
|||
![]() |
|
Gomer73 15 Jun 2004, 02:46
I would assume 16bit.
Don't know what color depth or resolution, possibly 800x600. The text was kind of messed up as well on some of the demos. They didn't provide source code, just executeables. |
|||
![]() |
|
f0dder 15 Jun 2004, 03:02
The source is probably there... somewhere... in their distribution
![]() 16bit is probably a safe assumption, DOS and all. 800x600... that could be a standard VGA (SVGA?) mode - 4bpp/16color. A very ugly bitplaned mode which will have _awful_ performance if you need to address individual pixels (although they can be relatively fast if you need to do large single-color fills). So, if it's 16bit code and 800x600x4bpp, there's a good chance that the code would do much better in a "sane" environment ![]() |
|||
![]() |
|
f0dder 15 Jun 2004, 03:06
I think it might be interesting porting the stuff over to win32/DirectDraw - that should allow for some pretty realistic measure of how well (or bad) the stuff can be expected to perform.
My last exam's tomorrow (well, today... after I sleep some. five o clock here, exam's at ten, and I still have some 13 pages of reading to do, heh). This will be followed by a drinking spree, but there should be a break after the weekend, and I might have a look at it there. |
|||
![]() |
|
SamuelGaliza 15 Jun 2004, 07:28
To Privalov:
I have chosen NASM because there isn´t FASM for BeOS. If somebody will compile FASM to BeOS I will translate SolOS to FASM even if someone have any other idea ![]() |
|||
![]() |
|
daneel 15 Jun 2004, 18:00
I recompile the source in Linux.Its works realy good. I copy the ways to compile (README.txt) , if you do a port of MW, you will need it.
"Microwindows compiles and runs on Linux, UNIX, ELKS, MSDOS, RTEMS, X11 and bare hardware. There is support for the MIPS, ARM, and x86 cpu's using the GNU C cross compiler. The architecture of Microwindows allows it to be ported or run on a wide variety of systems. Cross-compilation for MIPS, ARM and x86 processors is supported. There are currently screen drivers for Linux 2.2.x framebuffers and Linux 2.0.x svgalib, as well as an X11 driver that allows applications to be built and tested under X11 before running on the target platform. There exists a portable 4-planes VGA driver that will run on bare hardware, ELKS, MSDOS, or RTEMS. There are mouse drivers written for bare hardware, direct serial port, Linux GPM driver, and touchpads. The Microwindows graphics engine is capable of running on any system that support readpixel, writepixel, drawhline and drawvline, although more advanced bit blit routines are provided. Microwindows features full RGB color support, optimized palette bitmap drawing, and a 3d look-and-feel. Overlapped and child windows are supported, with complete window and client area clipping. Proportional and fixed fonts are supported, along with utilities for converting any MS Windows font or .bmp file. Optimized painting algorithms are used to allow maximum response while the user is moving windows on the screen. In addition, the Nano-X server can also be built on top of the device-independent graphics engine." |
|||
![]() |
|
pelaillo 15 Jun 2004, 21:00
crc - 13 Jun wrote: FASM now works perfectly under BeOS! See See http://board.flatassembler.net/topic.php?p=10763#10763 for the download (source + binary) SamuelGaliza - 15 Jun wrote: To Privalov: ![]() ![]() ![]() |
|||
![]() |
|
SamuelGaliza 16 Jun 2004, 07:51
OK, then i will translate SolOS to Fasm
![]() |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.