Thread: Remember pokes.....?

  1. #1
    Registered User Robert_Ingleby's Avatar
    Join Date
    Oct 2001
    Posts
    57

    Remember pokes.....?

    In the old days of basic you could use a POKE to read a set of 8 numbers stored in DATA to change the character on a keyboard. i.e. if you asked the computer to print an 'a' in this mode it could show whatever your data was i.e. a smiley face, a car etc, Very basic 1 colour graphics, but a good starting point for a program.

    Is there any way of using a similar instruction to make a simple graphics in C++?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    156
    Devices are protected in windows. You can talk to them via win32 APIs but you can't overpower them as was done back in the days of DOS.


    ...I think you read with PEEK and write with POKE.

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Hehehe.....One of my favorite programs in the one that did this:
    1) Edit a file to make the computer boot into dos mode
    2) Edit another file to execute only one program when it boots up
    3) Program two would redefine the keyboard to random ASCII characters.

    Both of these programs were written in C. When I get back home I'll try to dig up the source code and display it. I'm not telling which to files you have to edit to make this work but its not hard to find out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. does anyone remember computer shows?
    By doubleanti in forum General Discussions
    Replies: 7
    Last Post: 06-26-2009, 04:55 PM
  2. Replies: 4
    Last Post: 04-09-2009, 10:11 AM
  3. Remember Turbo? It is comming back
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2006, 01:26 PM
  4. Does Anybody Here Remember When Hanz Gubenstein Invented Time Travel?
    By LuckY in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-04-2005, 06:03 PM
  5. Anyone remember....?
    By VegasSte in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 03-01-2003, 05:22 AM