SamY 6 Junior Poster in Training

just learn asm, I started from emu8086.com

SamY 6 Junior Poster in Training

i use pure assembly, ur willing to run with that?

SamY 6 Junior Poster in Training

hi, i have been able to map the 1st 4MBs of the memory but now i am trying to create an allocator. it 1st checks for enought memory using the BITMAP method, then after that it allocates areas where the PDE and all its PTEs will stay.
Now i need help in coding how the PDE and PTE will be filled to reflect on each other appropriately, also my other Question is, what method is best to make both the allocated memory and kernel code memory appear in a single PDE. So that code can use the newly allocated space?. the code is really confusing me and i need help so that i can move to the next step in my Kernel..

SamY 6 Junior Poster in Training

okay today i'm almost finishing the memory manager, the malloc part, venomxxl,ive been using those resources but smoe are not enough, dont we have an irc thing to use? would like realtime help. anybody interested??

SamY 6 Junior Poster in Training

ok i've coded the oprating system and so far it can load sector and execute binaries, now i need help implementing my paging algorithms and also creating some modules, whose up for the challenge?

SamY 6 Junior Poster in Training

what memory offset does your code start at? Maybe you reached a boundary limit and it wrapped around going to another area thus causing that error

SamY 6 Junior Poster in Training

or get the examples at emu8086 after you download the app go to documentation then interrupts. You'll find a much effective code. When i boot up my computer i.ll post it

SamY 6 Junior Poster in Training

i would advice you to visit emu8086.com download and get the documentation. It has alot of what you are trying plus many examples

SamY 6 Junior Poster in Training

hey the segment register and offset register work this way. Lets say we have 7c0:2 the actual memory address will be 7c00+2 being 7c02. Another example is 0:7c00. The first part you shift to the left like i did 7c0 to 7c00 .but in our second case. When you shift the second part it remains zero and you just add the right portion to get where the memory starts and not how large its allocation is. Only the starting address is what you get. But on protected mode its quite different. If you want i can teach you that one as it offers more features

SamY 6 Junior Poster in Training

Hi people, im creating an operating system, 32bit, protected mode, vesa... a complete o/s i need your help in anyway, coding, funding, ideas. i will post my operating system image for you people to sample and you may join me in creating it.... the posting will be done in less than a week.... thanks

SamY 6 Junior Poster in Training

Anyone to help with protected mode programming,like help me create a a data descriptor pointing to 0b800h when i try to write to RAM it rebbots

yes that is because you havent set up protected mode properly, it resets on triple fault. give me upto tomorrow ill give you a good working protected mode...

Salem commented: No need to rush for tomorrow, the OP posted that over TWO YEARS AGO!!!! -4
SamY 6 Junior Poster in Training
while (x !=0)
           {
               rslt = rslt + x
               x = x + 1
           }

and i would really appericate it if any body could help me

i think this is your answer, hope you know abit of assembly

x db 8d   ;defines a byte 8 in decimal
y db 12d
mov ax,[x]
mov bx, [y]
cmp ax,bx   ;compare the value of bx and ax
jg  x_more_y  ;jumps if more
sub bx,ax    ;subtract ax from bx
x_more_y:
sub ax,bx

now the fiisrt part has been solved
2nd part is also simple...

x db -5d
rslt db 0d
loop:
inc [rslt]
inc [x]   ;increment value of x
mov ax,[x]
cmp ax,0d
jne loop    ;if x!=0 then it will jump to the top of the loop. try it
SamY 6 Junior Poster in Training

ok download emu8086 from www.emu8086.com and you will also get useful notes regarding assembly there, also check nondot.org/sabre/os/articles. for info on hardware programming, laso download FASM and boschs emulator. hope it helps u.laterz

SamY 6 Junior Poster in Training

ok let me apologize.am sory bout the whole thing.lets 4get this ever hapened.is that ok guys.christina i like ur foot note,i believe in true love.

SamY 6 Junior Poster in Training

jbennet what is wrong with u,r u from microsoft? is bill ur bro? c'mon evrything is illegal in this planet.take ur shit to a christian chat room.in this thread we keep it gangsta.anyone else?

christina>you commented: Inappropriate language. -2
jbennet commented: piracy = bad +12
SamY 6 Junior Poster in Training

can anyone tell help some of us on how to mod an xbox repair acording to the error codes.where can we download all xbox system files not using p2p mayb mail or direct download.my eror codes are 16 and 7

SamY 6 Junior Poster in Training

Thanx guys i'll lok into it and if i've mo' problems i'll contact you

SamY 6 Junior Poster in Training

u did't understand me.I meant converting instructions into binary like,
int mayb 10111 in binary conversion, u get right?
like all the machines codes to binaries.or a program into bin file. give me the equivalent of the codes in binaries

SamY 6 Junior Poster in Training

I need help as to how 2 change machine codes 2 binaries or hex like mov to mayb 101011111, yeah, u know like own compiler

SamY 6 Junior Poster in Training

Any ideas or sites on port programming for modem, mouse, usb, nad printer/scaners would b apperciated here

SamY 6 Junior Poster in Training

I saw in one linux mag that you can create your own domain, is it true? if yes please tell me how i nee one like 123456.com

SamY 6 Junior Poster in Training

I meant like VSAT

SamY 6 Junior Poster in Training

,greatest point ever.

SamY 6 Junior Poster in Training

CAn somebody tell me if there is a direct link btwn satellite and phones and if i need to use the space satellite in onrder to network diferrent places.
Can i start a mobile telephony service using satellites:?:

SamY 6 Junior Poster in Training

Could someone please help me, i need to go to university next year and i have't got any money to travel abroad. COuld you guys advice me on whre to get help or who can help me?
I'm in Kenya (Africa).
I want to go and study SOftware engineering mayB in Japan or Europe. Am serious Please Help Or tell others who might find help. Thanx in advance

SamY 6 Junior Poster in Training

I already got those notes but theyr kinda complicated

SamY 6 Junior Poster in Training

Create your own interrupt
DOS has left a few interrupts open for us to use if we would like, so let's grab one and point it at our code. Once we have written the code for the interrupt, we can make a TSR to set the interrupt vector and then stay resident.
We write our code for the interrupt to do anything as long as we don't call another interrupt. We also can have the layout like the other interrupts where there is a service number in AH. See the code for an example.
We use some similar code from Interrupt Vectors to find the first unused interrupt. We will start with int 34h. On most machines, this interrupt is the first unused interrupt, while the ones before are used for misc. things and we won't even bother them.
We then can set the interrupt vector to point to our code via the INT 21h service.
Then call service 31h of INT 21h to Terminate and Stay Resident.
Version: 1.00b
Author: Ben Lunt (Forever Young Software(R))
Date: 8 Dec 1998
Assembler: NBASM 00.23.xx
; This is a small util. to show how to create your own
; interrupt.
;
; (version 1.00b - original release)
;
; OUTINT.ASM
; Forever Young Software
; Copyright 1997
; All rights reserved
; Version 1.00b
.model tiny
.186
org …

SamY 6 Junior Poster in Training

Could you please Xplain to me the meaning of this code?
Create your own interrupt
DOS has left a few interrupts open for us to use if we would like, so let's grab one and point it at our code. Once we have written the code for the interrupt, we can make a TSR to set the interrupt vector and then stay resident.
We write our code for the interrupt to do anything as long as we don't call another interrupt. We also can have the layout like the other interrupts where there is a service number in AH. See the code for an example.
We use some similar code from Interrupt Vectors to find the first unused interrupt. We will start with int 34h. On most machines, this interrupt is the first unused interrupt, while the ones before are used for misc. things and we won't even bother them.
We then can set the interrupt vector to point to our code via the INT 21h service.
Then call service 31h of INT 21h to Terminate and Stay Resident.
Version: 1.00b
Author: Ben Lunt (Forever Young Software(R))
Date: 8 Dec 1998
Assembler: NBASM 00.23.xx
; This is a small util. to show how to create your own
; interrupt.
;
; (version 1.00b - original release)
;
; OUTINT.ASM
; Forever Young Software
; Copyright 1997
; All rights …

SamY 6 Junior Poster in Training

This index lists the VGA's I/O ports in numerical order, making looking up a specific I/O port access simpler.
3B4h -- CRTC Controller Address Register
3B5h -- CRTC Controller Data Register
3BAh Read -- Input Status #1 Register
3BAh Write -- Feature Control Register
3C0h -- Attribute Address/Data Register
3C1h -- Attribute Data Read Register
3C2h Read -- Input Status #0 Register
3C2h Write -- Miscellaneous Output Register
3C4h -- Sequencer Address Register
3C5h -- Sequencer Data Register
3C7h Read -- DAC State Register
3C7h Write -- DAC Address Read Mode Register
3C8h -- DAC Address Write Mode Register
3C9h -- DAC Data Register
3CAh Read -- Feature Control Register
3CCh Read -- Miscellaneous Output Register
3CEh -- Graphics Controller Address Register
3CFh -- Graphics Controller Data Register
3D4h -- CRTC Controller Address Register
3D5h -- CRTC Controller Data Register
3DAh Read -- Input Status #1 Register
3DAh Write -- Feature Control Register
The problem is that am not sure of how to code them, could you now help me?

SamY 6 Junior Poster in Training

Please anyon who Knows help.

SamY 6 Junior Poster in Training

Does it have to be 512 B nad ahve the signature 05AAH at offset 510 ?
What about on CD Roms and HDDs?

SamY 6 Junior Poster in Training

Could Anyone help me with the codes . Perhaps i can give you the ones for hard drives and keyboards laters coz i have 'em

SamY 6 Junior Poster in Training

Not at all thats ya privilege!!!!!!!!!!!

SamY 6 Junior Poster in Training

How can i create my own hardware and software interrupt, what are the codes sent to hardware to access information/data please help with the codes;)

SamY 6 Junior Poster in Training

Please try ADOOB it beta

SamY 6 Junior Poster in Training

Scrapy media player

SamY 6 Junior Poster in Training

goto emu8086 and read on documentation .Also goto to the forum titled TASM beginner in this site

SamY 6 Junior Poster in Training

You need a code that loops that's all.Sample this one
.....
mov ffffh, 0
label x_pow_y
mov ax,2
mul ax,2
inc ffffh ;memory location+1 until it's equal to one
cmp [ffffh],y
je display_result ;if it has been looped continously until Y times
loop x_pow_y ;else it wiil loop
............
code for displaying result
Exapmle is 2 power 3
2 is moved ot ax, multipied by itself and ffffh incremented
until it is =3

SamY 6 Junior Poster in Training

Which software should i use to exactly create a complete operating system:?: . I need an application which uses machine codes(like emu8086) and can manage all the RAM and all hardware interupts.
Please someone help

SamY 6 Junior Poster in Training

how do i get the computer speed in Ghz in assembly

SamY 6 Junior Poster in Training

How do i assign mo' memory to the video driver.
In the documentation it is written that you can address upto 1MB momory. How can i Have more???????????????????/

SamY 6 Junior Poster in Training

How can i make my operating sys have more pixels like windows.

SamY 6 Junior Poster in Training

Ok i got the program. but it's a demo version.
Perhaps it could help me.ok does this application make real o/s i mean stand alone?
I want to try and make a full o/s. Perhaps you could first help me with just making the overal boot sector prog and how to make a kernal and perhaps load it

SamY 6 Junior Poster in Training

Where can i find an application for coding an assembly program:!:

SamY 6 Junior Poster in Training

ok like i mean how can i draw using pixels on the screen. I only know how to wtrite text
cout<<"how?";

SamY 6 Junior Poster in Training

How can one manipulate the vdu. Like to creae a class which can be used to create objects like windows depending on wdth like

_o/s_window(120,20,0xddff,0);

120-height
20-width
hexadecimal-base color
0-border stylethe window will look like this with a color gradient
and can run other programs.

SamY 6 Junior Poster in Training

How can one use a Rt box to display formatted text. Imean to display different texts colors,size location and data from records:?:. Even images. Please help. I mean a texbox like this one

SamY 6 Junior Poster in Training

ok the code for spread sheet is

sub main()
dim sam(10,12) as textbox
for i=1 to 10
for j=1 to 12
set sam(i,j)=controls.add("vb.textbox","sam" & i & j)
' the the code to prevent em' from overlaping
next j
next i
end sub

that code has an eeror when you reach 11 for i and 11 for j
but i want to try other new like after that you could
dim othe textboxes

SamY 6 Junior Poster in Training

I've got no idea on how to connect exel as Vb please help

SamY 6 Junior Poster in Training

Thanx again it worked. You guyz are really helpful!!!!!!!!!