Re: Peek/Poke Low-Level parallel-port/memory/video-buffer/keyboard-buffer?



Marc 'BlackJack' Rintsch <bj_666@xxxxxxx> wrote in news:

Not really and it's not a matter of the chosen programming language.
PCs usually don't use memory mapped IO, so there is a difference
between accessing memory and hardware registers. The "screen buffer"
isn't in main memory but in many cases in memory on the graphics card.

PCs use port-based I/O, an antiquated concept that seemed like a good idea
in the '70s. Regarding video memory, PC video cards traditionally had their
own RAM which mapped into the CPU's address space. Modern PCs have an
onboard video system that simply takes some of the system RAM for itself.
3D accelerator cards meanwhile have separate RAM.

The ability to POKE into any part of the memory would be a bad thing.
The operating system is not in ROM anymore. If it is not protected,
any software could accidentally crash the whole system or even worse,
any virus can plant code into the core of the operating system. Ouch.

Another difference is that modern PCs do not use the BIOS for much of
anything except the boot phase. Windows has it's own drivers for everything
right down to the keyboard. That's because the BIOS resides in the first
megabyte of memory, and cannot be accessed without switching out of
protected mode.

In most cases, Windows has severe restrictions on what ports and memory
areas an application can access. Windows 95/98 were less stringent about
this than NT, which was why the latter could not run many games, although
that changed with XP.

Nope, PCs nowadays aren't like the simple little world of 8-bit machines
where you could do anything you wanted.
.



Relevant Pages

  • Re: Windows uses 4 GB? Really?
    ... I bought 4 GB of RAM because I thought it would speed up my system a bit. ... Some info that is posted here as reference seems to suggest that it is a Windows issue, but others seem to suggest that it is also a hardware issue. ... "I have install total 4GB memory on my motherboard. ... On a SLI system, since PCI-Ex graphic cards will occupy around 256MB, another 256MB will be occupied after you install a 2nd PCI-Ex graphic card. ...
    (microsoft.public.windowsxp.general)
  • Re: Problem with M2N32 and 4x1GB RAM modules
    ... I put 2x1GB corsair DDR2 800 modules into it. ... The IDENTICAL RAM modules that I bought when i built it ... Every time i sped through the windows boot process and got to the ... Since the same 2 GB memory was really ...
    (alt.comp.periphs.mainboard.asus)
  • Re: if i have many windows or programs running, I cannot open anym
    ... Ken Blake - Microsoft MVP Windows: ... much memory. ... If you don't have enough RAM, ...
    (microsoft.public.windowsxp.general)
  • Re: Kernel_data_inpage-error
    ... It is a Windows system file. ... sticks of Ram and not tested the ram yet. ... You can check RAM memory. ... the System and Application logs in Event Viewer for the last boot. ...
    (microsoft.public.windowsxp.general)
  • Re: Hardware Monitor found an error
    ... Windows update seems to be able to detect it ... If you do a lot of graphics work, yes, then more RAM may well benefit ... I don't know your tech, of course, but in my experience, most ... If you are not using the page file significantly, more memory will do ...
    (microsoft.public.windowsxp.basics)