Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. adholioshake

    BIOS VGA mem, mode 12h

    Hi people. I'm trying to figure out how the memory for screen mode 12h for BIOS screen-set call (ah=00h, int 10h) is organised. It would seem that the first block of memory is a bitmap for whether the pixel is on or off - but how do you change the colour of that pixel? I'm trying to rewrite...
  2. adholioshake

    Memory Management

    Hi tek people. I have been trying to write a simple operating system for a while and I am stuck on the memory management. The problem is how memory is organized after 1Mb. The first thing that has to be done is enable the A20 line, and I have done that. But what does that actually do? To access...
  3. adholioshake

    Memory Size

    How do you find out memory size in assembly? I know there are the bios interrupts 11 and 12, but they only work in kb, which isn't very good if you have for example 20M. Also these don't include extended memory. Does anyone have any ideas ?
  4. adholioshake

    Floppy Disk size (in BIOS)

    Assuming that a sector on a floppy disk is 512 bytes long and the floppy is a standard 3.5" disk: - How many sectors are there per head ? - How many heads per cylinder(or track??) ? - How many cylinders on the disk ?
  5. adholioshake

    Boot Loader problem

    Hi people. I have been working on a boot loader program for a while, and it is almost working fully. I've just hit one problem that occurs after loading a program (off sector 2) in memory. Take a look at the code: assume cs:code code segment org 100h program: jmp start msg1 db 'Boot...
  6. adholioshake

    To perform a reboot in DOS, all you

    To perform a reboot in DOS, all you need to do is jmp to location FFFFh:0000h. How do you do this ?? I did have some code for this, but I can't remember how to jump to that segment. Can anyone help? Thanks, Adonai.
  7. adholioshake

    SVGA pixel question

    Hi everyone. I have started some simple graphics routines in assembly for SVGA resolution. The code I have written for a simple line is shown below. I am using an interrupt to set the pixel. However, this is very slow! Does anyone know how to access the graphics memory area directly for SVGA...
  8. adholioshake

    Hi everyone. I wish to be able t

    Hi everyone. I wish to be able to obtain a handle for a thread whose ID value I know, but I don't know how to do this. For processes, to do the same thing you could use OpenProcess(), but there is no function OpenThread. Does anyone know what I need to do ? Thanks, Adonai. :-)
  9. adholioshake

    Process names from ID values

    Hi everyone. I can't quite get my head around this problem. I can get all the process ID values by using the 'EnumProcesses()' function. However, this isn't very helpful to me because the ID values are just hex numbers and change each time you run the same process. Does anyone know how to get...
  10. adholioshake

    Terminating Process

    I have a problem with terminating 2 processes. The program I have wrote so far is as follows: #include "stdafx.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)...
  11. adholioshake

    Boot Problem

    I have been attempting to write a bootable floppy in assembly and have got this code so far. The problem is that I don't know where the data has got to ?! Can anyone point me in the right direction for finding it ! Thanks, Adonai. PS: the code is here if you want to take a look :) code...
  12. adholioshake

    Network Libraries

    Does anyone know where I can get hold of any network libraries for C. I am using an MS-DOS machine. I have done some network programming in Windows using WinSocks, but now I would like to make just a DOS based routine. Cheers, Adonai.
  13. adholioshake

    Full Screen Window

    Hello. I am attempting to write some code to make a screensaver. I have tried to make a fullsize window that covers the whole desktop, but one that does not have a titlebar. So far I have been unsuccessful in my attempts. Can anyone tell me what I need to do to make this full screen window...
  14. adholioshake

    Key trapping

    I wrote a TSR program for storing keyscan codes in a buffer, but it didn't quite work. Here is relevent code: ;( Start of code extract ) ;......... keycount dw 1 ; Counter keyscan db 100 dup (?) ; Buffer ; Key int replaces interrupt 9 (key press) keyint: cli push ax ; save...
  15. adholioshake

    Network Access...

    Does anyone know how to access remote sources low-level style in assembly. I think there may be some interrupts for this if you have the right drivers installed, but I don't know what they are. Using the 'IN' and 'OUT' operatives would be a start, but I don't know what the port number(s) are...

Part and Inventory Search

Back
Top