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 | ||||||||||||||
|
||||||||||||||
Total Votes : 1 |
Author |
|
bitshifter 11 May 2009, 09:31
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?
_________________ 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. |
|||||||||||
11 May 2009, 09:31 |
|
Coddy41 12 May 2009, 19:11
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> ... |
|||
12 May 2009, 19:11 |
|
Coddy41 13 May 2009, 16:30
yes, I so pose it dose... I must say, this makes my OS look like somthing out of the garbage can
_________________ Want hosting for free for your asm project? You can PM me. (*.fasm4u.net) |
|||
13 May 2009, 16:30 |
|
bitshifter 14 May 2009, 15:13
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... |
|||
14 May 2009, 15:13 |
|
revolution 14 May 2009, 17:48
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?
|
|||
14 May 2009, 17:48 |
|
Coddy41 15 May 2009, 12:53
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..
|
|||
15 May 2009, 12:53 |
|
revolution 15 May 2009, 12:59
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.. |
|||
15 May 2009, 12:59 |
|
Coddy41 15 May 2009, 17:36
JUST the boot loader the kernel you will have to right....
|
|||
15 May 2009, 17:36 |
|
Coddy41 12 Jul 2009, 12:37
All right! this contest has been sleeping long enough! I am waking it back up, time to set the due date
how is Dec 25, it should give anyone long enough to join... |
|||
12 Jul 2009, 12:37 |
|
windwakr 12 Jul 2009, 15:54
I think I'll join, how original does "Wind OS" sound?
|
|||
12 Jul 2009, 15:54 |
|
Coddy41 12 Jul 2009, 22:43
original? well it fits your user name mine don't have a name yet I just call it test
|
|||
12 Jul 2009, 22:43 |
|
tom tobias 13 Jul 2009, 09:52
Coddy41 wrote:
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' .... |
|||
13 Jul 2009, 09:52 |
|
pete 13 Jul 2009, 10:56
Why don't you call it testos[teron]?
|
|||
13 Jul 2009, 10:56 |
|
windwakr 13 Jul 2009, 21:54
Does the Boot loader count towards the 2kB?
Would a FAT count against the 2kB? |
|||
13 Jul 2009, 21:54 |
|
Coddy41 13 Jul 2009, 22:01
@pete: cool 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. |
|||
13 Jul 2009, 22:01 |
|
windwakr 22 Jul 2009, 02:00
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.
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. 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. BTW: The message displayed is a joke, obviously. 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 Last edited by windwakr on 15 Jul 2012, 20:57; edited 1 time in total |
|||
22 Jul 2009, 02:00 |
|
Coddy41 24 Jul 2009, 20:00
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
|
|||
24 Jul 2009, 20:00 |
|
windwakr 24 Jul 2009, 20:57
The img loads fine in Qemu, VirtualPC, VirtualBox, etc.
|
|||
24 Jul 2009, 20:57 |
|
Coddy41 24 Jul 2009, 21:16
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...
|
|||
24 Jul 2009, 21:16 |
|
Goto page Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.