flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next |
winner | ||||||||||||||
|
||||||||||||||
Total Votes : 1 |
Author |
|
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?
_________________ 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. |
|||||||||||
![]() |
|
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> ... |
|||
![]() |
|
Coddy41
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) |
|||
![]() |
|
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... |
|||
![]() |
|
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?
|
|||
![]() |
|
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..
|
|||
![]() |
|
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.. |
|||
![]() |
|
Coddy41
JUST the boot loader the kernel you will have to right....
|
|||
![]() |
|
Coddy41
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... |
|||
![]() |
|
windwakr
I think I'll join, how original does "Wind OS" sound?
![]() |
|||
![]() |
|
Coddy41
original? well it fits your user name
![]() ![]() ![]() |
|||
![]() |
|
tom tobias
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' .... |
|||
![]() |
|
pete
Why don't you call it testos[teron]?
|
|||
![]() |
|
windwakr
Does the Boot loader count towards the 2kB?
Would a FAT count against the 2kB? |
|||
![]() |
|
Coddy41
@pete: 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. |
|||
![]() |
|
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.
![]() 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 |
|||
![]() |
|
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
![]() |
|||
![]() |
|
windwakr
The img loads fine in Qemu, VirtualPC, VirtualBox, etc.
|
|||
![]() |
|
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...
|
|||
![]() |
|
Goto page Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.