flat assembler
Message board for the users of flat assembler.

Index > OS Construction > FASM Challenge - For all users

Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 13, 14, 15  Next
Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
so, if i want to reset the mouse:
Code:
Mouse: AA  Self-test passed 
Mouse: 00  Mouse ID 
Host:  FF  Reset command 
@@:
in al,60h
cmp al,0aah
jne @b
@@:
in al,60h
cmp al,0
jne @b
mov al,0ffh
out 60h,al
Mouse: FA  Acknowledge 
@@:
in al,60h
cmp al,0fah
jne @b

    


?
Post 16 Feb 2008, 18:10
View user's profile Send private message Visit poster's website Reply with quote
DJ Mauretto



Joined: 14 Mar 2007
Posts: 464
Location: Rome,Italy
DJ Mauretto
Laughing Laughing Laughing Laughing
You must first of all tell to the controller that the command is for the mouse,because it share same controller with the keyboard Wink
Command D4h = Next byte is for the mouse (AUX Device)
Post 16 Feb 2008, 18:35
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
thanks,
and for datas from the mouse, where are they?

edit:
i've found, yeahhhhhhh!
not tested for now, but i know now!
i've found this fuckin help file... HERE

as this project tend to be a html process(the html page) in a system process (the window), i'll code this mouse handler to be linked to the ??OO lib, with direct coordinate controls, with dedicated buttons and zone functions...
Post 17 Feb 2008, 00:11
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
I have added mouse support to FBrowser Smile , see here for updated files and source : http://board.flatassembler.net/topic.php?t=8281
Post 18 Feb 2008, 23:14
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
good job dex.
i don't find the irq handler of the mouse, where is it?
and about the keyboard, the problem is still there, no escape Sad((((

edit:
ok, mouse irq is decomposed in 4 stages.
the irq in idt
the irq lancher
the irq itself
and the sub functions for this irq.

dex:
don't feel offended, but, i think the global design of your package is not easy to modify and share...
it really needs some cleanup, and shorter labels.
i have headacke Just_By_Learning_The_Labels_1 ... Wink

but it's a good work.
i guess if this mouse handler can be integrated in my lib...
Post 18 Feb 2008, 23:56
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
edfed wrote:

dex:
don't feel offended, but, i think the global design of your package is not easy to modify and share...
it really needs some cleanup, and shorter labels.
i have headacke Just_By_Learning_The_Labels_1 ... Wink
but it's a good work.
i guess if this mouse handler can be integrated in my lib...


No not at all, its just the way i work, i am used to working on my own, its hard for me to program in global way, but i will try.
Post 19 Feb 2008, 00:27
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
yep, me too i have some problems to code in a "standard" way...
the important point is to make the source structured.
for exemple, the libs, they shall be in evocators folders.
for mouse, a mouse folder
for keyboard, a kb folder
and so on
and the source code files (.inc, .asm, .txt, .bin etc etc ) shall be named with a simple name, a lowercase name.
i see the harder names to learn are the one composed by Many_Strange_Structured_Labeling
it is hard to learn, and hard to code...

i have a way to code, make short and simle labels, and then code very fast to test and modify the code very fast, it permitts to try the more possible solutions, to choose the best at the end.

so...
i see many part of your code that can be adapte to ?? lib
the code to display the fbrowser, setting the borders, etc..
this can be made easy with ??


there, the first items are the last to be displayed
first is topmost, last is topless Wink
browser:
dd caller,0,0,800,600,@f-$-4
dd menu, frame, scrollbars, addressbar, buttons, statusbar
dd workspace
@@:
...
menu:
dd ???
...
frame:
dd ???
...
...
workspace:
dd caller,3,40,800-6,600-43,@f-$-4
dd render
dd parse
@@:
...


the only thing to do with that is to call the function from the main item, there it is "fbrowser:" call caller
Post 19 Feb 2008, 01:03
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
If you google "FBrowser" there seem to be alot of browsers by that name, so we will need to change the name, so post your idea's.
Post 19 Feb 2008, 19:07
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
fbboot, fasmnet, bootnet, DDET (dex dosin edfed tom), galaxy express 666 GE666, IRQ_DEAD, hamsterdam navigator (beer brand), turtle, burbule, furfule, fasmbrowser, farfadet, lutin hip, ipy, azerty, beer'n'bed, toxic, reagge, dread, UFONOW, tinip, sarah, elodie, handmade, andor, OG , JO, IµP, £^*"é'çà, noname


Last edited by edfed on 23 Feb 2008, 22:06; edited 1 time in total
Post 19 Feb 2008, 19:46
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
maj, flower, wake, tree, 03924JSD321KLLDKFSLM, monaco, moon, pluton, transistor, canneloni, junk, shower, girlid, atomip, !/?, no-name


Last edited by edfed on 23 Feb 2008, 22:03; edited 1 time in total
Post 20 Feb 2008, 00:55
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
anybody have a GOOD idea of name?

i think, before to give it a name, it shall works..at boot time, with IP connection ready...
Post 20 Feb 2008, 02:02
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Boot2Browse
Boot4Web
Boot-n-Browse
Post 20 Feb 2008, 13:05
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
yamcha, incal, ipéfix, mickey


Last edited by edfed on 23 Feb 2008, 22:08; edited 1 time in total
Post 20 Feb 2008, 13:24
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
i have made the basic file to be as the one for vesa, but for easy testings, for mode 13h, in dos boxes...


Description: to test funtions and interface in a dosbox
Download
Filename: feeble.zip
Filesize: 31.62 KB
Downloaded: 52 Time(s)



Last edited by edfed on 23 Feb 2008, 22:09; edited 3 times in total
Post 20 Feb 2008, 15:45
View user's profile Send private message Visit poster's website Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin
How about: Deimos
or something?


Last edited by dosin on 20 Feb 2008, 18:19; edited 1 time in total
Post 20 Feb 2008, 17:48
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17717
Location: In your JS exploiting you and your system
revolution
FABOS (Flat Assembler Browser Operating System).
Post 20 Feb 2008, 17:52
View user's profile Send private message Visit poster's website Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin
Quote:
revolution:FABOS (Flat Assembler Browser Operating System)


Good name! Very Happy
Post 20 Feb 2008, 17:57
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
fabos is fabulos!

but...

flat assembler board loader ...
then fabl
then feeble

feeble is the more stable bmx grind,
Image
very easy to do, it is done by a speed jump, then put the rear peg and the front wheel on the wall, then, it grinds.

FEEBLE?


Last edited by edfed on 23 Feb 2008, 22:10; edited 1 time in total
Post 20 Feb 2008, 17:58
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
deimos +1
Post 20 Feb 2008, 19:00
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
yep, i have a very little problem about font resolution...
Post 22 Feb 2008, 01:17
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 13, 14, 15  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.