flat assembler
Message board for the users of flat assembler.

Index > OS Construction > -=<512BOS>=- ... Another 512byte OS


42?
Yes
70%
 70%  [ 14 ]
Not really
30%
 30%  [ 6 ]
Total Votes : 20

Author
Thread Post new topic Reply to topic
kuscsikp



Joined: 07 May 2006
Posts: 19
kuscsikp 12 Aug 2006, 18:33
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
Post 12 Aug 2006, 18:33
View user's profile Send private message ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 12 Aug 2006, 20:29
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 Wink
Post 12 Aug 2006, 20:29
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 13 Aug 2006, 16:13
heheh, coming out nicely - btw, its about million times faster in QEMU - at least the gfx1 part Wink

Does the 42 mean something like 5-1 and 2 Razz ?
Post 13 Aug 2006, 16:13
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
kuscsikp



Joined: 07 May 2006
Posts: 19
kuscsikp 15 Aug 2006, 10:56
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)
Post 15 Aug 2006, 10:56
View user's profile Send private message ICQ Number Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 341
Location: Trollhättan, Sweden
bubach 18 Aug 2006, 01:07
42 is the answer to "life, the universe and everything", but I'm not sure that this OS qualifies.. Wink
Post 18 Aug 2006, 01:07
View user's profile Send private message Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 11 Oct 2006, 03:35
Awesome man! Good job and good luck with it!
Post 11 Oct 2006, 03:35
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 11 Oct 2006, 16:59
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
Post 11 Oct 2006, 16:59
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 11 Oct 2006, 17:26
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


Description: rename to para513.com
Download
Filename: para513.txt
Filesize: 513 Bytes
Downloaded: 522 Time(s)

Post 11 Oct 2006, 17:26
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 11 Oct 2006, 17:45
Neat! But which keys are which? I got the moving keys for the gun and escape, but what about firing?
Post 11 Oct 2006, 17:45
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 11 Oct 2006, 18:17
sorry, it's numeric 4 5 6 - check numlock. numeric keys suck especially on some notebooks (eg. mine) by the way
Post 11 Oct 2006, 18:17
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 12 Oct 2006, 01:00
vid, very nice! Smile
Post 12 Oct 2006, 01:00
View user's profile Send private message Visit poster's website Reply with quote
rhyno_dagreat



Joined: 31 Jul 2006
Posts: 487
Location: Maryland, Unol Daleithiau
rhyno_dagreat 12 Oct 2006, 01:34
Ah, I see.... Awesome!
Post 12 Oct 2006, 01:34
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 24 Oct 2006, 16:47
For those who stumbled here and are interested in vid's lil proggie, check this thread: Para512 - 512 byte paratrooper (with sources)
Post 24 Oct 2006, 16:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.