Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is it possible to find a shortlist of Bios registers and methods to use them? C/ASM programming

Is it possible to find a shortlist of Bios registers and methods to use them? C/ASM programming

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsalgorithmsquestion
3 Posts 3 Posters 30 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex D Aug2024
    wrote on last edited by
    #1

    I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!

    J D 2 Replies Last reply
    0
    • A Alex D Aug2024

      I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      Alex D Aug2024 wrote:

      * BIOS registers for graphics modes and other useful things

      Googling with the following seemed to return useful information

      "BIOS" "graphics modes" PC-dos

      Alex D Aug2024 wrote:

      Methods to incorporate these registers in C with methods aka inline assembler

      Been a while but rather certain there was no remapping in the address space in 16 bit dos. Don't even think it was possible. Although perhaps 286/386 allowed that. If it wasn't then you certainly did not need inline assembly. Because an address with, for example 0x10 was just a matter of initializing a pointer with exactly that address. Make sure it is a byte pointer.

      1 Reply Last reply
      0
      • A Alex D Aug2024

        I have been searching for hours and i am having a really hard time finding any reference lists of theese legacy methods. Basically what i am looking for is initializing graphics in DOS aka Dosbox or DOS boot disk for bootup. I am looking for: * BIOS registers for graphics modes and other useful things * Methods to incorporate these registers in C with methods aka inline assembler Please GOD make information about programming short and on point! Amen!

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Don't use the word "register". It doesn't apply in this case. Search for "BIOS and DOS interrupts" and you'll find what you're looking for.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups