Flo-was-here - Flo Was Here, But Will He Come Back?

flo-was-here - flo was here, but will he come back?

More Posts from Flo-was-here and Others

8 years ago
So, This Was The Plan All Along…

So, this was the plan all along…

8 years ago
Dogs Can Sense Sadness In Humans And Will Often Attempt To Make Their Owners Happier By Initiating Cuddling.

Dogs can sense sadness in humans and will often attempt to make their owners happier by initiating cuddling. The University of London researchers found the dogs were more likely to approach a crying person than someone who is humming or talking and that they normally responded to weeping with submissive behaviors and try to initiate cuddling. source

Follow us on Instagram

image via livescience

8 years ago
Quite Possibly The Best Customer Service Ever

Quite Possibly The Best Customer Service Ever

8 years ago
Wow People Still Use That?

Wow People Still Use That?

8 years ago
“The Way To Get Started Is…” - Walt Disney [500x500] MORE COOL QUOTES!

“The way to get started is…” - Walt Disney [500x500] MORE COOL QUOTES!

8 years ago
Playing With A 1980′s IBM PS/2
Playing With A 1980′s IBM PS/2
Playing With A 1980′s IBM PS/2
Playing With A 1980′s IBM PS/2

Playing with a 1980′s IBM PS/2

I found an old IBM this weekend, and I learned the Pascal language just to play with it. The IBM is a 1989 PS/2 (so far as I can tell, but it may be older), or Personal System 2. These computers first came out in 1987 as IBM’s third generation of personal computers, you can read more about their history here.

Programming the IBM

While poking around on this computer’s DOS prompt I found a directory that contained all of the previous user’s programs - the most recent of which was edited in 1992. I noticed that the programs were written in the Pascal programming language and that I could make new programs with the included turbo IDE (Integrated Development Environment):

image

After downloading the free pascal compiler on my Mac, I started learning the language. I began writing pascal programs on my Mac to transfer to the IBM, but when I tried to load the programs into turbo I found that they were corrupted because I had not accounted for the carriage return character in DOS. In UNIX systems only the newline character (denoted by ‘\n’) is needed for newlines, but in DOS the carriage return character is also needed (denoted by ‘\r’, then ‘\r\n’ together). So I wrote a quick bash script to solve my problem:

image

I then proceeded to write Conway’s game of life in pascal - which is the seen running in the second gif above ( I have the source code here if you would like to read over it). The game of life is a simple simulation game that populates and repopulates a grid of cells based on simple rules. If a cell is filled it is considered “alive”, if it is not it is considered “dead”. Here is an example of an interesting configuration - known as a Glider Gun - in the game of life:

image

Making Life

I created two arrays, one to store the current state of the grid and another to store the temporary grid that helps calculate the next “generation” of cells.

image

For each “generation” - or step as I have called it here - I fill the grid with cells based on the following rules:

Any live cell with fewer than two live neighbors dies, as if caused by under-population.

Any live cell with two or three live neighbors lives on to the next generation.

Any live cell with more than three live neighbors dies, as if by over-population.

Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

image

While looking at the gif above, you may have noticed that there are some cells that seem to pop into existence randomly. This is because I randomly turn 4% of cells in the grid ‘alive’ during each step. I do this to insure that the grid does not empty, because I like to have this programming running in the background as I do other things.

I am currently trying to install old DOS games onto the system. My goal is to get the old elder scrolls arena - the first elder scrolls game - onto the system. Because the file is big (9MB, well… big for 1980′s computing) I will have to break apart and transfer over multiple floppies. I currently have a script to split the executable and I am working on a pascal program to reconstruct the partial files on the IBM.

The Source Code:

To view the source code for this project, or to fork it, check out the github repo:

https://github.com/piepieninja/IBM-DOS-GAMES/

extra: How did I move the programs from my Mac to the IBM? well I had an old computer - now running puppy linux - that could take my files from a USB and put them onto a floppy disk!

8 years ago
My Friend Posted This. I’m Glad I Can Share For Once, Sad That He Believes It. Http://memehumor.tumblr.com

My friend posted this. I’m glad I can share for once, sad that he believes it. http://memehumor.tumblr.com

8 years ago

being in a public restroom and hearing someone shitting really loud

image
  • hitek713
    hitek713 liked this · 6 years ago
  • almamiaamaelcafe
    almamiaamaelcafe liked this · 6 years ago
  • lifefitness1185c
    lifefitness1185c liked this · 7 years ago
  • akialszik
    akialszik liked this · 7 years ago
  • kociara81
    kociara81 reblogged this · 7 years ago
  • kociara81
    kociara81 liked this · 7 years ago
  • jabig
    jabig reblogged this · 7 years ago
  • shaw-kai
    shaw-kai liked this · 7 years ago
  • icantreblog
    icantreblog liked this · 7 years ago
  • horsell
    horsell liked this · 8 years ago
  • horsell
    horsell reblogged this · 8 years ago
  • flying-press
    flying-press liked this · 8 years ago
  • papasasha
    papasasha reblogged this · 8 years ago
  • edwinsm1
    edwinsm1 liked this · 8 years ago
  • srimaan1999
    srimaan1999 liked this · 8 years ago
  • raphyxtra-blog
    raphyxtra-blog liked this · 8 years ago
  • nothing-unavailable
    nothing-unavailable liked this · 8 years ago
  • flo-was-here
    flo-was-here reblogged this · 8 years ago
  • flo-was-here
    flo-was-here liked this · 8 years ago
  • hithisisawkward
    hithisisawkward liked this · 8 years ago
  • oggreek-blog1
    oggreek-blog1 reblogged this · 8 years ago
  • odysseyofpigs-blog
    odysseyofpigs-blog liked this · 8 years ago
  • bloky-blog
    bloky-blog liked this · 8 years ago
  • mmoozzee
    mmoozzee reblogged this · 8 years ago
  • tashatissuebox
    tashatissuebox liked this · 8 years ago
  • hsinghhira
    hsinghhira liked this · 8 years ago
  • humansareinteresting-blog1
    humansareinteresting-blog1 liked this · 8 years ago
  • saelolanafylliris-blog
    saelolanafylliris-blog liked this · 8 years ago
  • thediane12
    thediane12 liked this · 8 years ago
  • ermionedeverne
    ermionedeverne reblogged this · 8 years ago
  • ermionedeverne
    ermionedeverne liked this · 8 years ago
  • radioactive-bananas-and-potatoes
    radioactive-bananas-and-potatoes liked this · 8 years ago
  • rigelwithafedora
    rigelwithafedora liked this · 8 years ago
  • malabarish
    malabarish liked this · 8 years ago
  • pcx436
    pcx436 reblogged this · 8 years ago
  • dannykay85-blog
    dannykay85-blog liked this · 8 years ago
  • awesomedash16
    awesomedash16 liked this · 8 years ago
  • import-os
    import-os reblogged this · 8 years ago
  • import-os
    import-os liked this · 8 years ago
  • farfromuniquer
    farfromuniquer liked this · 8 years ago
  • deeplylearning
    deeplylearning liked this · 8 years ago
flo-was-here - flo was here, but will he come back?
flo was here, but will he come back?

You are free to choose, but you are not free from the consequence of your choice. - a Universal Paradox

195 posts

Explore Tumblr Blog
Search Through Tumblr Tags