flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Micro OS contest

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

winner
bitshifter
0%
 0%  [ 0 ]
windwakr
100%
 100%  [ 1 ]
Total Votes : 1

Author
Thread Post new topic Reply to topic
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
I am writing a com loader into my kernel.
This is my command line interface so far.
Tell me if you think it sucks or what?


Description:
Download
Filename: x3dos.zip
Filesize: 1.09 KB
Downloaded: 89 Time(s)


_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 11 May 2009, 09:31
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
It don't suck, I just wish It went strait to the command interface and didn't have so many
press any key to <do something> ...
Post 12 May 2009, 19:11
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
I wanted certain handlers to use a fresh work area
instead of just dumping everything onto the prompt.
This works nice when handlers are chained together.
Also it helps not clutter the work area with old junk.

_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 13 May 2009, 09:10
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
yes, I so pose it dose... I must say, this makes my OS look like somthing out of the garbage can Smile

_________________
Want hosting for free for your asm project? You can PM me. (*.fasm4u.net)
Post 13 May 2009, 16:30
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
I am also wondering how many people are in this contest.
Maybe a show of hands would be a good indication of this.
If you are participating, please say hello or something...
Post 14 May 2009, 15:13
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17478
Location: In your JS exploiting you and your system
revolution
I am wondering what the latest rules are? They seem to change so often that no one is sure what to make. Perhaps Coddy41 would kindly take some time to clarify if the rules are now static, or whether Coddy41 is still accepting contestant defined rules, or what?
Post 14 May 2009, 17:48
View user's profile Send private message Visit poster's website Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
um... well, aslong as you don't go over 5k, code it in Fasm and it don't blow up computers... I see no problem with it... as long as you right the kernel I see no reson for you to use your own bootloader, use any bootloader as long as it is open source... thats it me.... and, dump the rest on the first page, add all the apps you want..
Post 15 May 2009, 12:53
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17478
Location: In your JS exploiting you and your system
revolution
Coddy41 wrote:
um... well, aslong as you don't go over 5k, code it in Fasm and it don't blow up computers... I see no problem with it... as long as you right the kernel I see no reson for you to use your own bootloader, use any bootloader as long as it is open source... thats it me.... and, dump the rest on the first page, add all the apps you want..
That is a free-for-all, not a contest.
Post 15 May 2009, 12:59
View user's profile Send private message Visit poster's website Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
JUST the boot loader the kernel you will have to right....
Post 15 May 2009, 17:36
View user's profile Send private message Visit poster's website Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
All right! this contest has been sleeping long enough! I am waking it back up, time to set the due date Smile
how is Dec 25, it should give anyone long enough to join...
Post 12 Jul 2009, 12:37
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
I think I'll join, how original does "Wind OS" sound? Laughing
Post 12 Jul 2009, 15:54
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
original? well it fits your user name Smile mine don't have a name yet Confused I just call it test Laughing
Post 12 Jul 2009, 22:43
View user's profile Send private message Visit poster's website Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias
Coddy41 wrote:

I just call it test
Hmm.
search of FASM forum for the keyword "test" reveals more than 1,800 entries....
Might be wise to consider a different name for the christmas 2009 operating system 'contest' ....
Post 13 Jul 2009, 09:52
View user's profile Send private message Reply with quote
pete



Joined: 20 Apr 2009
Posts: 110
pete
Why don't you call it testos[teron]?
Post 13 Jul 2009, 10:56
View user's profile Send private message Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Does the Boot loader count towards the 2kB?
Would a FAT count against the 2kB?
Post 13 Jul 2009, 21:54
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
@pete: cool Very Happy teron sounds cool

@windwakr: No the boot loader dosn't count one byte at all and as I said in my post earlier on this page.
Don't be afraid to go up to 5k if you wish.
Post 13 Jul 2009, 22:01
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Lol, I've only had a little bit of time to work on this, and I've already wasted 301 out of 512 bytes of the bootloader on flashy graphics. Very Happy
I need to get my priorities straight...

Also, tell me if it works on your machine please, I don't have a working floppy drive at the moment. Sad
It has worked in everything I've tested it in so far. VirtualBox, VirtualPC, Qemu, and a fullscreen Dos window on XP. DAMMIT, why did people have to make an emoticon out of X and P...I see it every time I see those letters.....


After about 1.5 seconds you should see something happen..if not, please tell me.




Laughing Laughing
BTW: The message displayed is a joke, obviously. Very Happy
Code:
;WIND OS
;Bootloader v0.000001 beta....no actual bootLOADER yet, just the boot part lol
;By ----- aka windwakr
format binary as "img"

org 7C00h

use16

;Start of code
bootloader:

cli
xor ax,ax
mov ds,ax
mov es,ax
mov fs,ax
mov gs,ax
mov ss,ax
mov sp,0FFFFh
sti

mov ax,03h
int 10h

mov cx,2000h
mov ah,1
int 10h

mov ax,1003h
xor bx,bx
int 10h

mov si,hellomsg
mov di,1936   ;8 in, 13th line
mov bl,00001001b ;Bright Blue text
call prntstr

mov cx,27 ;wait approximately 1.48 seconds
mov bx,[es:046ch]
waiter:
mov ax,[es:046ch]
cmp bx,ax
je waiter
mov bx,ax
loop waiter

mov cx,64
mov bx,[es:046ch]
colorloop:
mov ax,[es:046ch]
cmp bx,ax
je colorloop
mov bx,ax
mov al,0
mov dx,03c8h
out dx,al
mov al,[color]
inc dx
out dx,al
out dx,al
out dx,al
inc [color]
inc [counter]
cmp [counter],3
jnz @f
mov [counter],0
mov dx,03c8h
mov al,39h
out dx,al
inc dx
add [color2],2
mov al,[color2]
out dx,al
out dx,al
mov al,63
out dx,al
@@:
loop colorloop

push es
push 0B800h
pop es
mov di,1936
mov al,0
mov cx,200
rep stosb
pop es

mov dx,03c8h
mov al,39h
out dx,al
inc dx
mov al,21
out dx,al
out dx,al
mov al,63
out dx,al

mov cx,64
mov bx,[es:046ch]
@@:
mov ax,[es:046ch]
cmp bx,ax
je @b
mov bx,ax
mov al,0
mov dx,03c8h
out dx,al
mov al,[color3]
inc dx
out dx,al
out dx,al
out dx,al
dec [color3]
loop @b

;Kernel will be loaded to 1000h:0000h

jmp $

prntstr:
pusha
push es
mov dx,es
push 0B800h
pop es
@@:
lodsb
or al,al
jz @f
stosb
mov al,bl
stosb
jmp @b
@@:
pop es
popa
ret

;DATA

hellomsg db 'Welcome to the future of Operating systems, Welcome to WIND OS.',0
color db 0
color2 db 21
color3 db 63
counter db 0

times 510-($-$$) db 0

dw 0AA55h

times 1474560-($-$$) db 0
    

_________________
----> * <---- My star, won HERE


Last edited by windwakr on 15 Jul 2012, 20:57; edited 1 time in total
Post 22 Jul 2009, 02:00
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
OK, I tried, but it assembled to an .img, then I rote it, this is were it screwed up for me, my image writter wouldn't rite it Confused
Post 24 Jul 2009, 20:00
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
The img loads fine in Qemu, VirtualPC, VirtualBox, etc.
Post 24 Jul 2009, 20:57
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41
Yes it does, but I get an error when writting the image, maybe I should turn it into a binary file and right it with pbp...
Post 24 Jul 2009, 21:16
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:  
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

< 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.