flat assembler
Message board for the users of flat assembler.

Index > OS Construction > OS Doesn't print string!!!

Goto page Previous  1, 2, 3, 4

Do you think that it is possible to create a semi-useful OS in 512 BYTES???
Yes
47%
 47%  [ 19 ]
No
45%
 45%  [ 18 ]
Undecided
7%
 7%  [ 3 ]
Total Votes : 40

Author
Thread Post new topic Reply to topic
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
Yes to all your ?, as for rule 10 it was to stop people registering in false names and voting for themself's, but your right it does more arm than good, rule 10 can be changed to:
Quote:
10. Only (Fasm Forum) Members will be allowed to enter and vote, no participant can vote for there own entry, and each member is limited to one entry.

PS: May be you could post on the main forum and ask Privalov Wink .

\\\\||////
(@@)
ASHLEY4.
Post 31 Aug 2004, 22:58
View user's profile Send private message Reply with quote
neonz



Joined: 02 Aug 2003
Posts: 62
Location: Latvia
neonz
I didn't understand one thing from rules - can single person submit multiple entries?

Also I've posted newsitem about this contest in Latvian IT underground site hackers.lv - http://hackers.lv/?id=5548
Post 01 Sep 2004, 12:48
View user's profile Send private message Visit poster's website Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
neonz, no, you can only enter one entry per member.
I think most people will Wait for the the last minute to enter, we need to use this compo to get people to start coding OS in asm (or better still fasm), and move forwood with OS knowledge, i do not think that you can make a usefull OS (maybe a usefull bootable program yes) in 512bytes, but if we all come up with some good small asm code snips, we can put them to gether and make a very usefull OS in 10k.
Maybe the worlds smallest usefull OS Wink.

\\\\||////
(@@)
ASHLEY4.
Post 01 Sep 2004, 13:44
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo
neonz wrote:
can single person submit multiple entries?


Yes, it will be highly desirable Wink
Post 01 Sep 2004, 13:45
View user's profile Send private message Yahoo Messenger Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
As it says in New rule 10.
Quote:
10. Only (Fasm Forum) Members will be allowed to enter and vote, no participant can vote for there own entry, and each member is limited to one entry.

It may be desirable Wink. But you can still not enter more than one entry.

PS: There's a UK computer magazine, who is interested in the compo result's, if we get some good entry's, they may put them on cover disk Smile .


\\\\||////
(@@)
ASHLEY4.


Last edited by ASHLEY4 on 02 Sep 2004, 00:52; edited 1 time in total
Post 01 Sep 2004, 16:28
View user's profile Send private message Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73
As with life though, nobody ever said you had to follow the rules.
Post 01 Sep 2004, 19:28
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
Gomer73, your right, look at this, for my entry for the smallest "Hello world!" program, they said i broke the rules, but the rule's said that when you run the program it prints "Hello world!" which it does, what do you think ?.
Code:
;*********************************; \\|//       Is it the smalist ?; (@ @)         "HELLO WORLD!"; ASHLEY4.         16 Byte's;; Assemble with Fasm.; c:\fasm hello.asm hello.com;; At the dos commandline type:; c:\hello hello world!;;*********************************        org   100h        use16        push  0xb800        pop   es        mov   si,0x81        mov   cl,13DoAloop:        lodsb        mov ah,9        stosw        loop DoAloop        ret    


\\\\||////
(@@)
ASHLEY4.
Post 02 Sep 2004, 01:24
View user's profile Send private message Reply with quote
Gambino



Joined: 20 Jul 2003
Posts: 44
Location: Romania
Gambino
ASHLEY4

Your program doesn't prints anything if u just run it...

You must pass the string to be printed as a parameter...

That means that the string is not part of the program...so i think u broke the rules.

You just remade the "echo Hello World !" command Very Happy
Post 02 Sep 2004, 02:24
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
But what if the name of the program was "hello hello world!"
And at the time the program is load into memory the string "hello world!" is part of the program Wink.

\\\\||////
(@@)
ASHLEY4.
Post 02 Sep 2004, 13:33
View user's profile Send private message Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73
Whatever gets the job done is the important thing, looks good.
Post 02 Sep 2004, 14:30
View user's profile Send private message Reply with quote
ASHLEY4



Joined: 28 Apr 2004
Posts: 376
Location: UK
ASHLEY4
I put this to clear up a point people are making.
Quote:

One thing i must clear up about the 512b compo, is that the demo/OS
must fit in to 512bytes, but you can still use the remainder of the
floppy, hdd, cd etc, for demo ing a feature.
eg: say you have a com file loader, that loads a com file from the
floppy, you can put a com file on the disk or ask the user to do so,
BUT WHAT IT LOAD'S will have no bearing on the out come of the compo.
So if it load's Doom3 or a "hello world!" program does not mater, it
just there to demo that the demo/OS can load a com file.

\\\\||////
(@@)
ASHLEY4.


\\\\||////
(@@)
ASHLEY4.
Post 05 Sep 2004, 14:14
View user's profile Send private message Reply with quote
Tora OS



Joined: 30 Jun 2005
Posts: 2
Location: California
Tora OS
Although it is possible to make a small os (posibably for diagnostic purposes), I do not consider it possible to make a so-called useful os in just 512 bytes. HOWEVER it is a good exercise for someone to learn how to make small compacted code instead of messy non compacted code.
Post 30 Jun 2005, 03:05
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Your right, but to make a full OS was not the goal, but to demo fitting part of a OS in 512 bytes was, eg: a game, debugger, multitasking, cdplayer, forth interpretor etc.

And i most add that compeared to most compo i have see run on forums, this was one of the most successfully, just see how many people down loaded the code Cool.
Post 30 Jun 2005, 12:10
View user's profile Send private message Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 559
smiddy
Is there going to be another competition this year? It would be nice to do this annually I think...to hone those programming skills.
Post 30 Jun 2005, 14:02
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Yes that was the plan, to have a Annually 512b Compo Cool.
The compo will start about " 1 AUGUST 2005" and will end " 1 OCTOBER 2005 " .
On the " 1 AUGUST 2005" the rules will be set.

But any in put as to the goal of the compo would be good, as maybe 512bytes are a little restrictive Question.
Post 30 Jun 2005, 16:45
View user's profile Send private message Reply with quote
smiddy



Joined: 31 Oct 2004
Posts: 559
smiddy
A thought that comes to mind, instead of restricting the size, restrict the requirements, in favor of performance. Using a standard set of tools for testing. That probably means writting something that will be huge... The limitation is time and performance. Just thoughts at this point though...I see lots of holes in what I just said (wrote).
Post 30 Jun 2005, 20:35
View user's profile Send private message Reply with quote
adefeo



Joined: 12 Jan 2004
Posts: 46
Location: Bellmore, Long Island, New York
adefeo
Just an idea: perhaps we should talk about this year's convo in a different thread? One with a more obvious name? My post wasn't even about a 512 byte OS; it was the poll that inspired ASHLEY4/Dex4u to start the compo.

And as for restricting requirements instead of size, maybe we could have two competitions this year; the second annual 512b compo and another compo that follows smiddy's and dex4u's ideas.
Post 01 Jul 2005, 05:51
View user's profile Send private message Visit poster's website AIM Address Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Your right i will start another thread, and i am for keeping it 512b, but thought i would give the rest of you a chance, as 512bytes is a bit restrictive for some Laughing
Post 01 Jul 2005, 09:06
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4

< 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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.