Volunteer assembly developer needed for FAT12 driver: closed
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Volunteer assembly developer needed for FAT12 driver: closed
Hi all,
I really, really need someone good at assembly to volunteer to write a FAT12 floppy writing driver for TBOS. The (real mode) OS has a stable base, and a syscall interrupt on 54h for programs.
Thanks,
Troy
EDIT: Need a FAT12 writing driver now, so I'm rezzing this thread.
I really, really need someone good at assembly to volunteer to write a FAT12 floppy writing driver for TBOS. The (real mode) OS has a stable base, and a syscall interrupt on 54h for programs.
Thanks,
Troy
EDIT: Need a FAT12 writing driver now, so I'm rezzing this thread.
Last edited by Troy Martin on Wed Jan 14, 2009 9:27 pm, edited 2 times in total.
Re: Volunteer assembly developer needed for FAT12 driver
If you would pay, maybe you would get someoneTroy Martin wrote:volunteer
Re: Volunteer assembly developer needed for FAT12 driver
@shiner: To me, this seems almost the 'perfect' volunteer request. He's asking for something small and manageable, with no hugely unrealistic expectations. Troy is a good forum member, and not some random person walking in off the street and expecting a whole OS written in 6 days. That said, 80286 real mode assembly programming isn't that common anymore. Still, one would expect some useful replies.
Re: Volunteer assembly developer needed for FAT12 driver
well
i might help, but thees days, im not having time, but within a week i can.
And i only need to know how fat 12 works, and what functions to read, and write to disk....
KMT dk
i might help, but thees days, im not having time, but within a week i can.
And i only need to know how fat 12 works, and what functions to read, and write to disk....
KMT dk
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
public domain sourcecode, anyone?
[ FAT12 bootloader ]
[ FAT12 bootloader ]
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
I have a bootloader, the problem is the last two times I tried to use code from it to load a file from my kernel (without jumping to it), epic fail.
But thanks for the offer, Combuster!
EDIT: Gonna try again, shouldn't be too hard. I think I was failing with converting filenames with dots to padded FAT12 filenames. But if it fails, which I'm sure it will, I still need some help.
But thanks for the offer, Combuster!
EDIT: Gonna try again, shouldn't be too hard. I think I was failing with converting filenames with dots to padded FAT12 filenames. But if it fails, which I'm sure it will, I still need some help.
Re: Volunteer assembly developer needed for FAT12 driver
Take a look at MinDos a simple realmode dos clone, that i wrote, that is less than 2k in size, which has a sample fat12 driver, that reusers the bootload code to load files from the fdd.
You can get it here: http://board.flatassembler.net/topic.php?t=5275&start=0
Here is the convert file name part, that you was having problems with
You can get it here: http://board.flatassembler.net/topic.php?t=5275&start=0
Here is the convert file name part, that you was having problems with
Code: Select all
;----------------------------------------------------;
; Convert File Name. ;
;----------------------------------------------------;
ConvertFileName:
pusha ; Save genral regs
push es ; Save ES
push ds ; Save DS
;----------------------------------------------------;
; Convert command line Name to root name. ;
;----------------------------------------------------;
mov si,CommandBuffer ; Move the address of CommandBuffer in SI
mov di,RootConvertedFileName ; Move the address of RootConvertedFileName in DI
mov cx,8 ; Move count 8
ConvertCliFileName:
cmp byte [ds:si],'.' ; Check for a '.'
je @f ; If = jump to label
cld ; Make movs prosess from left to right.
movsb ; Move what ds:si points to, to what es:di points to
dec cx ; Decreass counter.
jnz ConvertCliFileName ; If counter not 0, loop
jmp FinConertCliFname ; If 0 jump label
@@:
mov al,0x20 ; Move ' ' into AL
cld ; Make movs prosess from left to right.
rep stosb ; Move what in AL, to the address es:di points to
FinConertCliFname:
cmp byte [ds:si],'.' ; Check for a '.'
jne @f ; If not jump label
inc si ; If = add a byte to SI
@@:
mov cx,6 ; Move 6 into count reg
cld ; Make movs prosess from left to right.
rep movsb ; Move what ds:si points to, to what es:di points to
mov di,RootConvertedFileName ; Move the address of RootConvertedFileName in DI
add di,8 ; Point to the ext
cmp word[es:di],'DE' ; Check for "DEx"
je ConvertCliFileNameError ; If = jump error
cmp word[es:di],'BI' ; Check for "BIn"
je ConvertCliFileNameError ; If = jump error
cmp word[es:di],'MO' ; Check for "MOd"
je ConvertCliFileNameError ; If = jump error
pop ds ; Restore DS
pop es ; Restore ES
popa ; Restore general regs
clc ; Do not set CF to 1
ret ; Return
ConvertCliFileNameError:
pop ds ; Restore DS
pop es ; Restore ES
popa ; Restore general regs
stc ; Set CF to 1
ret ; Return
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
You like your comments don't you?
Thanks, I'll try it out. Want any credit?
EDIT: Nifty, my file loading code works (mostly) if the filename is all uppercase and the padding is done! Now to add Dex's code and TBOS will have FAT12 support! Woot!!
Thanks, I'll try it out. Want any credit?
EDIT: Nifty, my file loading code works (mostly) if the filename is all uppercase and the padding is done! Now to add Dex's code and TBOS will have FAT12 support! Woot!!
Re: Volunteer assembly developer needed for FAT12 driver
That's up to you , as for the uppercase its best to convert any commands or program names from the CLI to upper case anyway.Troy Martin wrote: Thanks, I'll try it out. Want any credit?
All you need do is test for "enter", than add a zero to the command line input and than do this
Code: Select all
mov di,CommandBuffer ; Move the address of CommandBuffer in DI
call UpperCase ; Call UpperCase function
; More code here
;====================================================;
; UpperCase. ;
;====================================================;
UpperCase:
pusha ; Save genral regs
push es ; Save ES
UcaseNextChar:
mov al,byte[es:di] ; Move what ES:DI points to, into AL.
cmp al,0 ; Compear it to 0
je UcaseDone ; Jump = to label UcaseDone
cmp al,0x61 ; Compear it to 0x61
jb DontUcaseChar ; Jump bellow to lalel DontUcaseChar
cmp al,0x7a ; Compear it to 0x7a
ja DontUcaseChar ; Jump above to lalel DontUcaseChar
sub al,0x20 ; Subtract 32 from AL
mov byte[es:di],al ; Move it to the address ES:DI points too
DontUcaseChar:
inc di ; Move the pointer by 1 byte
jmp UcaseNextChar ; Jump to label UcaseNextChar
UcaseDone:
pop es ; Restore ES
popa ; Restore genral regs
ret ; Return
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
Yeah, I have a routine to do that, but I LIKES ME MAH CASE SENSITIVITY!
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
The necromancer says: I need a FAT12 floppy writing driver, so I'm rezzing this thread so it can write it for me. CODE, DAMN YOU!!
The developer says: I need a volunteer to code a FAT12 floppy writing driver so I can release the next version of my OS.
The noob says: HAI GIZ I N33D A F4T DRIVAR 4 MY 0S!!!11 PLZZ H3LP!!!11oneone KTHXBIE!!111!!!1!!111one!oneone!!!1!!
Take your pick, I just need a FAT12 floppy writing driver!
The developer says: I need a volunteer to code a FAT12 floppy writing driver so I can release the next version of my OS.
The noob says: HAI GIZ I N33D A F4T DRIVAR 4 MY 0S!!!11 PLZZ H3LP!!!11oneone KTHXBIE!!111!!!1!!111one!oneone!!!1!!
Take your pick, I just need a FAT12 floppy writing driver!
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Volunteer assembly developer needed for FAT12 driver
Lol, look what happened to the *almost perfect* volunteer request, JackScott! You just had to spoil it...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
I added the noob version for kicks (and cotton nostalgia.)
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Volunteer assembly developer needed for FAT12 driver
I doubt he knew either L33T or LOLCODETroy Martin wrote:I added the noob version for kicks (and cotton nostalgia.)
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Volunteer assembly developer needed for FAT12 driver
Hmm, maybe I should port LOLCODE to TBOS....
NOOOOOOooooooooooooooooo................. Bad Idea (tm)
NOOOOOOooooooooooooooooo................. Bad Idea (tm)