flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 Next |
Author |
|
sylwek32
and do you know a SNES emulator <64 ?
Here i found one but > 600KB http://www.emuunlim.com/sneese/ But opensource ! Maybe you can modify ?! Would be very goood1 |
|||
![]() |
|
comrade
very nice
|
|||
![]() |
|
The Lightning Stalker
Please use lots of comments in the code ^_^ It really helps script kiddes like me ^_-
Take care, The Lightning Stalker |
|||
![]() |
|
sylwek32
can you upload http://www.dex4u.com/Dos4u/MiniDos.zip again please?
|
|||
![]() |
|
Dex4u
Here you go http://www.dex-os.com/MinDos/MiniDos.zip
Last edited by Dex4u on 30 Apr 2011, 17:21; edited 1 time in total |
|||
![]() |
|
DataHunter2009
Very nice! I just wish it had some C in it.
![]() ![]() |
|||
![]() |
|
Dex4u
Thanks DataHunter2009, But now you know how we ASM programmers feel, when you C codes make great programs, but we can not understand whats going on in the code
![]() |
|||
![]() |
|
vid
generally when i can't unerstand C, it's because they use too many self-defined things, and i need to look up all of them, usually at least 10. So you need to get overview of project until to grasp something from it.
On other side, assembly is harder to understand, but unless author uses lot of macros, you can understand piece of code without knowing anything about rest. It's also easier to rip the code |
|||
![]() |
|
DataHunter2009
I've tried to learn ASM. But Once I get past "mv", I just get lost.
![]() |
|||
![]() |
|
vid
|
|||
![]() |
|
RedGhost
Hey, just an idea, since int's are called fairly often, instead of a bunch of compares, which takes more time have a table and do
jmp [table+int_id] I realize there are many not implimented yet but you could have "null" stubs that just return. _________________ redghost.ca |
|||
![]() |
|
Dex4u
That why the code is freely available, if you think you can improve it, mod it and post the code
![]() |
|||
![]() |
|
rugxulo
Hey Dex, just FYI:
|
|||
![]() |
|
Dex4u
Thanks for the info, i note: that the intro is a bit long and may miss lead people (when i tested something on MiniDos), so i shorted it and i may change the words to " MiniDos Loading" , i will looking into the file you pointed me too.
|
|||
![]() |
|
mikegonta
[ Post removed by author. ]
Last edited by mikegonta on 28 Jan 2009, 08:53; edited 2 times in total |
|||
![]() |
|
DOS386
Quote: I'm interested in "upgrading" it to 32 bit protected mode Then it's pretty useless for you. Look for a 32-bit bootable "Hello world" - "OS" instead ![]() Quote: I am starting a project that is a very simple DOS OS, this will be used as a bootloader for Dex4u OS, but will also emulate common Dos int 21h functions and load com/exe files. Very nice as FASM coding example ... but OTOH VERY limited, not a serious competitor to FreeDOS ![]() |
|||
![]() |
|
Dex4u
@mikegonta You are free to use the code as you like, i will add a notice like this to the source code.
Quote:
I think NTOSKRNL_VXE is right, maybe DexOS code would be better, as its got lots of PM functions and very much like pm 32bit bios. @NTOSKRNL_VXE, Sure its not got the functionality of FreeDos, but then again MiniDos is only 2k ![]() And even freedos is looking at coding a PM 32bit Dos (not freedos32 that differant ). |
|||
![]() |
|
asiekierka
I know i'm bumping this thread, but i made a little fix/addon to MiniDOS.
I implemented INT 21h - AH=06h and fixed AH=02h a bit. DOSint.asm: Code: int21_02: ; asiekierka - AL is preserved (at least in DOS 2.10+) push ax ; Save AX mov al,dl ; Put whats in dl into al call chrout ; Call our char function pop ax ; Restore AX mov al,dl ; Re-move, push AH dosen't want to work :O jmp int21_exit ; Jump to int21_exit label ; direct console output int21_06: cmp DL, 255 je int21_07 jmp int21_02 Add this to label "int21" in the same file: Code: cmp ah,6 ; Does AH = 6 je int21_06 ; Direct console output Should fix up some software. If it'll fix any tool, tell me please. EDIT: Also, an optimization tip: DOSInt.asm: Remove labels int21_0A, 2A, 2B, 2C, 2D. Remove this from label int21: Code: cmp ah,0Ah ; Does AH = 0x0A je int21_0A ; Enter string ... ... cmp ah,2Ah ; Does AH = 0x2A je int21_2A ; Get date cmp ah,2Bh ; Does AH = 0x2B je int21_2B ; Set date cmp ah,2Ch ; Does AH = 0x2C je int21_2C ; Get time cmp ah,2Dh ; Does AH = 0x2D je int21_2D ; Set time Should make both the size smaller and the speed faster, AND also it wouldn't make any harm on the functionality. |
|||
![]() |
|
Dex4u
Thanks asiekierka, i have updated MinDos, but i have left the labels " int21_0A, 2A, 2B, 2C, 2D" in, has the functions will be add soon.
|
|||
![]() |
|
Goto page Previous 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2019, Tomasz Grysztar.
Powered by rwasa.