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 |
|
windwakr
Try RawWrite. I don't know if it would work, but its worth trying. I really need to get myself a working floppy drive.
If that doesn't work, here is a file that should. Just remove the "times 1474560-($-$$) db 0" line so its 512 bytes then run the program abscopy in this zip file with the parameters "abscopy wind_os.img 0" The OS in here was written by ATV for the 512b OS competition here on these boards. If anyone wants, I can upload all the ones I had downloaded. I can't seem to find a mirror anywhere else....hmm, I wonder what happened to decard.... Hmm, I may be on to something. Either decard is off doing this. Or someone else in his town has the same name. Notice the bottom, "Mateusz Tymek 2008" And you can see the town Kalisz mentioned there in the text. I wonder why he hasnt been to the forums in 3 years. decard wrote: My name is Mateusz Tymek. I live in Poland, in not very big (100 thousand citzents) city called Kalisz.
Last edited by windwakr on 24 Jul 2009, 22:42; edited 7 times in total |
|||||||||||
![]() |
|
Coddy41
OK... I got it to work, it looks fine,
works well on: Intel MMX AMD anthalon (however you spell it) Intel Celeron Intel pentium 2 all 32 bit prossesers, I only have 4 different types of prosesers to test on.
_________________ Want hosting for free for your asm project? You can PM me. (*.fasm4u.net) |
|||||||||||
![]() |
|
windwakr
Ok, thanks for testing it on real hardware.
|
|||
![]() |
|
Coddy41
No problem, It looks cool, looks as if Bitshifter has some good competition. as well as me.....
|
|||
![]() |
|
bitshifter
Hi Coddy
I had finished my 2K entry but i though this was dead in the water. Next time i get on my coding pc i will grab it and post it here for u. |
|||
![]() |
|
windwakr
I have been bored over the last couple hours, so I decided to try coding my first Command-Line Interface. It doesn't check for commands or anything, but enter and backspace work. It even scrolls up when you type too far or press enter a lot. It was fun figuring out how to do all that. Ignore the extremely disgusting code, I was just trying out ideas and didn't want to format my code good in case I made a big mistake, all that effort would have been a waste. I'll clean it up eventually.
To test it, assemble the bootloader. Uncomment the following lines in "Wind_OS.asm": Code: ;format binary as 'img' ;file 'WindOS_boot.bin' ;times 1474560-($-$$)-512 db 0 Then write it to a floppy or try it in a virtual machine.
|
|||||||||||
![]() |
|
windwakr
What is wrong with my scrolling code?? It works right and everything but it leaves a cyan block on the screen, I can't see whats causing it.
When I remove this code from scrollupone the cyan block doesn't appear. WTF I don't see how this code could affect the 4th line when it is clearing the last line. Code: mov ax,0F00h mov di,3840 mov cx,80 rep stosw
|
|||||||||||
![]() |
|
bitshifter
This is how i scroll up in real mode (text mode 3)
Code: mov ah,0x06 ; function id mov al,0x01 ; num lines (0=all) mov bh,0x0F ; attribute (bk = black, fg = white) mov cl,0x00 ; top left column mov ch,0x00 ; top left row mov dl,79 ; bottom right column mov dh,24 ; bottom right row int 0x10 ; invoke BIOS You will need to adjust caret position afterward. _________________ 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. |
|||
![]() |
|
windwakr
Hmmm, thanks. That is much simpler than my method.
|
|||
![]() |
|
Coddy41
I am not getting the Cyan Block on my PC :/ It runs fine on all of them......
|
|||
![]() |
|
pelaillo
Quote:
It's certainly him, just look at the html source of some of the pages. I suppose that he wanted to earn a living out of scripting languages and that's great. It is easier than with assembly nowadays. However I wonder why he lost interest in fasm altogether. ![]() |
|||
![]() |
|
Coddy41
bitshifter wrote: Hi Coddy How did I miss this post? Anyway way, If you want as I told Windwakr and revolusion you can make to 5k if you want to. _________________ Want hosting for free for your asm project? You can PM me. (*.fasm4u.net) |
|||
![]() |
|
windwakr
New test version, kernel completely rewritten. The code is now readable(well, compared to the last version)! There are 4 commands, "help", "?", "ver", and "cls". Case does not matter in the commands. I'm thinking about doing some simple com loading.
EDIT: Uploaded slightly better version.
Last edited by windwakr on 30 Jul 2009, 14:32; edited 1 time in total |
|||||||||||
![]() |
|
Coddy41
Cool, It works alot better than the last one, I didn't have to try 13 times to get it to right to floppy, this one I got on first try. What I found intristing was I typed in say... "ver help" it displayed the version, or if I typed in help ver it displayed help, it reads the first command and ignores the space and beond. I thought it was going to give me an error.
|
|||
![]() |
|
windwakr
Ya, I plan on allowing some commands to have arguments passed to them, but am too lazy to check on commands that shouldn't have any. Although, I should fix it. You can type stuff like "help3jhejkreyrufdfbby" and it'll show the help message lol. Should be a pretty easy fix.
Thanks for testing. EDIT: Uploaded fix, now these commands are only recognized if you type them exactly. Lol, just had to change a few little things, took under a minute. And it doesn't mess up using arguments on future commands. |
|||
![]() |
|
Coddy41
lol, nice, I see yours is coming nicely, as for mine, I started over because I didn't like the derection it was headed and some places looked like my old code, so I just started over.
|
|||
![]() |
|
windwakr
Is this thing still going on? Is anyone else participating? I haven't worked on mine since my last post, and probably won't have time to work on it for a few weeks.
|
|||
![]() |
|
Coddy41
Its still going on, though I don't know if anyone else is participating
![]() |
|||
![]() |
|
windwakr
What are you stuck with?
|
|||
![]() |
|
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.