flat assembler
Message board for the users of flat assembler.
![]() |
42? | ||||||||||||||
|
||||||||||||||
Total Votes : 20 |
Author |
|
kuscsikp
This is the 512BOS operating system...
It has only 512 bytes, it is not finished yet. I am at the 300th byte. It has a console, own file system, can create ramdisk, can load and run a process. (which can use system calls!!!) How tu start it? -run it using Bochs (if u are under windows, use run.cmd) If the OS running: -use help -use 'list', it displays files on the ramdisk -execute a program using exec (exec xxxx ; where xxxx is a name of a file located on the ramdisk) Here you can download: http://158.197.33.91/~kuscsikp/512bos/ Peter Kuscsik |
|||
![]() |
|
vid
i suggest you to use SI instead of BP, you can save MANY bytes. also, there is still lot of space for optimization, but of coure that should be done when it's done
![]() |
|||
![]() |
|
Madis731
heheh, coming out nicely - btw, its about million times faster in QEMU - at least the gfx1 part
![]() Does the 42 mean something like 5-1 and 2 ![]() |
|||
![]() |
|
kuscsikp
5-1,2=42 , no, no
I have tried how can i create polls. Now, i don't know how to delete it:( QEMU? I will try it! (But Bochs is a 100% cross-platform emulator) |
|||
![]() |
|
bubach
42 is the answer to "life, the universe and everything", but I'm not sure that this OS qualifies..
![]() |
|||
![]() |
|
rhyno_dagreat
Awesome man! Good job and good luck with it!
|
|||
![]() |
|
Dex4u
If your into small OS, Here's my 512byte effort, its runs in full 32bit pmode, Has 640x480 32bpp vesa graphics, gui, fonts keyboard input, atapi driver, built in cdplayer in less than 512.
http://www.dex4u.com/cdpod/cdpod.zip screenshot: http://www.dex4u.com/cdpod.htm |
|||
![]() |
|
vid
talking about 512 byte applications
here is my 513 byte paratrooper: (everyone has 512, at least i am original) it may seem to be able to do only a little, compared to others, but it has to do many things you don't realize at first peek: - draw "bacground" - sky, ground, base - draw gun - it is line heading upwards. for this we need sine and cosine of angle and line drawing algo. note that line has to be wide 4 pixels, not 1 - check keys, exit on esc, move gun, bound angle to -90 and 90 degrees - if shooting key is pressed, create bullet object, so that it will advancce in current direction of gun - randomly create helicopter, going to different direction from different X position, at random Y position in some range. - randomly create parachute for every helicopter - draw every object in list - bullet, helicopter, parachute, landed parachute (one without ... erm... parachute) - move bullets in direction they were shoot, remove from list when out of screen - move helicopters in direction, remove from list when out of screen - move parachutes, switch to landed parachutes when on ground - check for collision of every object in list with every bullet, destroy object on collision - and graphics itself has to be stored in file (and note that helicopter's winch is flashing) so there is little more to it than it seems
|
|||||||||||
![]() |
|
rhyno_dagreat
Neat! But which keys are which? I got the moving keys for the gun and escape, but what about firing?
|
|||
![]() |
|
vid
sorry, it's numeric 4 5 6 - check numlock. numeric keys suck especially on some notebooks (eg. mine) by the way
|
|||
![]() |
|
rugxulo
vid, very nice!
![]() |
|||
![]() |
|
rhyno_dagreat
Ah, I see.... Awesome!
|
|||
![]() |
|
rugxulo
For those who stumbled here and are interested in vid's lil proggie, check this thread: Para512 - 512 byte paratrooper (with sources)
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.