POM1 Raspberrypi: Difference between revisions

From The ReActiveMicro Apple II Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is a Wiki ReactiveMicro page to share the Raspbian Pom1, for all Raspberry pi Distribution.
''by'' '''TOOLKITMAN'''
POM1 is an Apple 1 emulator and I have compiled it inside Linux to boot at startup in full HDMI screen.
 
Some Raspberry pi can show a mouse pointer for less than a second on your screen before loading
'''The Raspbian Pom1''', ''for all Raspberry Pi Models. except Raspberry pi 400''
the POM1 emulator (on a Raspberry pi 4b the mouse remain visible, you can move it with your mouse device in a non visible screen area or dont connect any mouse in your usb port seeing Pom 1 Software dont need mouse.) I advise a 1 A+ Raspberry pi also Raspberry pi Zero works with it.
 
Raspberry pi 4B has 2 HDMI ports one Full HDMI and one 4K, use the Full HDMI one to fill the full tv or monitor screen.  
POM1 is an Apple 1 emulator that I have compiled inside Linux to boot at startup in full HDMI screen.
 
Some Raspberry Pi can show a mouse pointer for less than a second on your screen before loading
the POM1 emulator (on a Raspberry Pi 4b the mouse remain visible, you can move it with your mouse device in a non visible screen area or dont connect any mouse in your usb port seeing Pom 1 Software dont need mouse.) I advise a 1 A+ Raspberry pi also Raspberry Pi Zero works with it. Raspberry Pi 4B has 2 HDMI ports one Full HDMI and one 4K, use the Full HDMI one to fill the full tv or monitor screen.  


To install it, unrar it with winrar or similar program, then connect your preformatted SD card from 16gb  
To install it, unrar it with winrar or similar program, then connect your preformatted SD card from 16gb  
or more and with win32DiskImager upload the image inside the SD. When ready connect it to Raspberry pi and  
or more and with win32DiskImager upload the image inside the SD. When ready connect it to Raspberry Pi and  
after connecting to it Keyboard, HDMI cable and power supply give it current, wait some seconds a @ will appear.
after connecting to it Keyboard, HDMI cable and power supply give it current, wait some seconds a @ will appear.


INSTRUCTIONS


TO LOAD A MACHINE CODE PROGRAM (WOZ MONITOR) INSIDE POM 1 RASPBERRY PI:
'''INSTRUCTIONS:'''
1)Press CTRL - Q to exit from apple 1 to linux terminal
2)Write startx to enter Raspbian
3)Save from your usb pen to Desktop the .txt file with the apple 1 code you prefer (for example called NIM.txt) inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv NIM.txt /" return.
4)Reboot the Computer and press CTRL - L to load the file and write his full name NIM.txt then select ASCII pressing 1 on your keyboard PRESS 1 for keyboard and return.
5)GO TO Apple 1 and write 4AFR retrun it will display the GAME.


TO LOAD A BASIC PROGRAM INSIDE POM 1 RASPBERRY PI:
TO LOAD A MACHINE CODE PROGRAM (WOZ MONITOR) INSIDE POM 1 RASPBERRY PI:<br>
1)Press CTRL - Q to exit from apple 1 to linux terminal
1) Press CTRL - Q to exit from apple 1 to linux terminal<br>
2)Write startx to enter Raspbian
2) Write startx to enter Raspbian<br>
3)Save from your usb pen to Desktop the .TXT file with the BASIC code you prefer inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv AI.txt /".
3) Save from your usb pen to Desktop the .txt file with the apple 1 code you prefer (for example called NIM.txt) inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv NIM.txt /" return.<br>
4)Reboot the Computer  
4) Reboot the Computer and press CTRL - L to load the file and write his full name NIM.txt then select ASCII pressing 1 on your keyboard PRESS 1 for keyboard and return.<br>
5)Write E000R in Apple 1 screen and press CTRL - L to load the file, write his full name AI.txt return, then select ASCII pressing 1 then 1 for keyboard and return.
5) GO TO Apple 1 and write 4AFR retrun it will display the GAME.<br>
6)Write RUN in Apple 1 screen, press return.


To shutdown the computer press CTRL-Q while in the apple 1 screen then write in the terminal command line sudo shutdown -h now and press return.
 
'''TO LOAD A BASIC PROGRAM INSIDE POM 1 RASPBERRY PI:'''
 
1) Press CTRL - Q to exit from Apple 1 to linux terminal<br>
2) Write startx to enter Raspbian<br>
3) Save from your usb pen to Desktop the .TXT file with the BASIC code you prefer inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv AI.txt /".<br>
4) Reboot the Computer<br>
5) Write E000R in Apple 1 screen and press CTRL - L to load the file, write his full name AI.txt return, then select ASCII pressing 1 then 1 for keyboard and return.<br>
6) Write RUN in Apple 1 screen, press return.<br>




To shutdown the computer press CTRL-Q while in the apple 1 screen then write in the terminal command line sudo shutdown -h now and press return.


Pom1 is an Apple 1 emulator being ported to C from the original Java version. It uses the Simple DirectMedia Layer library and works on most platforms.


Pom1 is an Apple 1 emulator being ported to C from the original Java
version. It uses the Simple DirectMedia Layer library and works on most
platforms.


== Options ==
== Options ==


Pom1 has many options to configure and utilize the emulator. They are  
Pom1 has many options to configure and utilize the emulator. They are accessed by Ctrl+<letter>. Some options also have corresponding command line parameters.
accessed by Ctrl+<letter>. Some options also have corresponding command
 
line parameters.


Option        Letter    Parameter            Description
Option        Letter    Parameter            Description
Line 60: Line 62:




POM 1 Raspberry pi Operating System Download link (Don't bother the google ads that says WHOOPS! there was a problem with preview, click download to download it):
POM 1 Raspberry Pi Operating System Download link (Don't bother the Google ads that says WHOOPS! there was a problem with preview, click download to download it):


<div style="font-size:150%; text-align: center;">[[https://drive.google.com/file/d/1J0CPU5lzDAuzPUJ70yldAuJWysd0wkJh/view?usp=sharing|  Click Here to Download Operating System ]]</div>
<div style="font-size:150%; text-align: center;">[[https://drive.google.com/file/d/1J0CPU5lzDAuzPUJ70yldAuJWysd0wkJh/view?usp=sharing|  Click Here to Download Operating System ]]</div>


<div style="font-size:150%; text-align: center;">[[https://drive.google.com/file/d/1htHrAwDenxO2sYNQGIuTAHqHu0MG_MVH/view |  Click Here to See Video ]]</div>




Me and a friend have designed and built a case similar to the one that fitted an Apple Computer 1 in mid 70's, for Raspberry Pi A+ to 4B. here is the link to the page where you can download the files to 3d Print it!


                                                         


<div style="font-size:150%; text-align: center;">[[https://drive.google.com/file/d/1htHrAwDenxO2sYNQGIuTAHqHu0MG_MVH/view |  Click Here to See Video ]]</div>
<div style="font-size:150%; text-align: center;">[[https://www.thingiverse.com/thing:4210163 |  Click Here to Download 3d printer files ]]</div>




I and a friend have design and build a case similar to the one that fitted A**le Computer 1 in mid 70's, for Raspberry pi A+ to 4B. here is the link to the page where you can download the files to 3d Print it!
'''Running the Monitor:'''




<div style="font-size:150%; text-align: center;">[[https://www.thingiverse.com/thing:4210163 |  Click Here to Download 3d printer files ]]</div>
[[File:POM1RPI.jpg]]


      Running the Monitor:


[[File:POM1RPI.jpg]]
This is an example of how in 43 years the computers are miniaturized and also with the little effort i made is possible to have in a gum packet size computer an Apple 1 with my distro POM 1 in a Raspberry Pi Zero for the price of 25$ complete with cables and SD you see on the top left of this picture, on the right an Apple 1 very similar Clone.


This is an example of how in 43 years the computers are miniaturized and also with the little effort i made is possible to have in a gum packet size computer an Apple 1 with my distro POM 1 in a Raspberry pi Zero for the price of 25$ complete with cables and SD you see on the top left of this picture, on the right an Apple 1 very similar Clone.


[[File:Apple1RpiZero.JPG]]
[[File:Apple1RpiZero.JPG]]
Line 88: Line 90:
WE ARE NOT RESPONSIBLE FOR ANY DAMAGE MADE BY A WRONG INSTALLATION TO YOUR SD CARD AND TO ANY DAMAGE YOU MAKE TO YOUR RASPBERRY PI AND YOUR PERSON USING IT. THE OPERATIVE SYSTEM WAS TESTED ON MORE THAN ONE MODEL OF RASPBERRY PI AND WORKED
WE ARE NOT RESPONSIBLE FOR ANY DAMAGE MADE BY A WRONG INSTALLATION TO YOUR SD CARD AND TO ANY DAMAGE YOU MAKE TO YOUR RASPBERRY PI AND YOUR PERSON USING IT. THE OPERATIVE SYSTEM WAS TESTED ON MORE THAN ONE MODEL OF RASPBERRY PI AND WORKED
FINE.
FINE.
By Toolkitman


POM1 source code: https://github.com/anarkavre/pom1
POM1 source code: https://github.com/anarkavre/pom1
https://www.raspberrypi.org/
https://www.raspberrypi.org/
<div style="font-size:150%; text-align: center;">[[ DIY POM 1 BUILD INSTRUCTIONS ]]</div>
Here the script. Go to Terminal than write sudo nano /etc/rc.local and write before the line exit 0 this sudo pom1 home/pi/pom1-1.0.0/pom1
press ctrl-X on the keyboard to close the windows.
Then you must install pom1 emulator from the arch version found here: https://aur.archlinux.org/packages/pom1/ under source 1 the tar.gz file
with this commands from terminal:
The simplest way to compile this package is:
  1. Uncompress the file writing tar xvzf /cd/Downloads/pom1-1.0.0.tar.gz or cd the folder it is inside.
    Open a Terminal and write:
    cd Downloads or the directory and go in /pom1-1.0.0/src and type
    `./configure' to configure the package for your system.  If you're
    using `csh' on an old version of System V, you might need to type
    `sh ./configure' instead to prevent `csh' from trying to execute
    `configure' itself.
    Running `configure' takes awhile.  While running, it prints some
    messages telling which features it is checking for.
  2. Type sudo make or make in terminal to compile the package.
  3. Optionally, type `make check' to run any self-tests that come with
    the package.
  4. Type then sudo make install or make install to install the programs and any data files and
    documentation.
  5. You can remove the program binaries and object files from the
    source code directory by typing `make clean'.  To also remove the
    files that `configure' created (so you can compile the package for
    a different kind of computer), type `make distclean'.  There is
    also a `make maintainer-clean' target, but that is intended mainly
    for the package's developers.  If you use it, you may have to get
    all sorts of other programs in order to regenerate files that came
    with the distribution.
Then  go to terminal and write sudo raspi-config and select the voice boot options then select Desktop/CLI
and text autologin as pi.
Then go back with esc to the voice Advanced Options than Resolution than 720x480 save with finish.
Reboot
Enjoy your new APPLE 1 emulator directly booting from startup as a real computer.
You can find my Operative System ready to be installed in your Raspberry sd with Balena etcher and with instructions here:
https://wiki.reactivemicro.com/POM1_Raspberrypi
Again Happy Birthday Mr.Woz by Matteo Trevisan "Toolkitman"
POM1 source: https://aur.archlinux.org/packages/pom1/
Raspberry pi OS source: https://www.raspberrypi.org/downloads/

Revision as of 14:33, 17 January 2021

by TOOLKITMAN

The Raspbian Pom1, for all Raspberry Pi Models. except Raspberry pi 400

POM1 is an Apple 1 emulator that I have compiled inside Linux to boot at startup in full HDMI screen.

Some Raspberry Pi can show a mouse pointer for less than a second on your screen before loading the POM1 emulator (on a Raspberry Pi 4b the mouse remain visible, you can move it with your mouse device in a non visible screen area or dont connect any mouse in your usb port seeing Pom 1 Software dont need mouse.) I advise a 1 A+ Raspberry pi also Raspberry Pi Zero works with it. Raspberry Pi 4B has 2 HDMI ports one Full HDMI and one 4K, use the Full HDMI one to fill the full tv or monitor screen.

To install it, unrar it with winrar or similar program, then connect your preformatted SD card from 16gb or more and with win32DiskImager upload the image inside the SD. When ready connect it to Raspberry Pi and after connecting to it Keyboard, HDMI cable and power supply give it current, wait some seconds a @ will appear.


INSTRUCTIONS:

TO LOAD A MACHINE CODE PROGRAM (WOZ MONITOR) INSIDE POM 1 RASPBERRY PI:
1) Press CTRL - Q to exit from apple 1 to linux terminal
2) Write startx to enter Raspbian
3) Save from your usb pen to Desktop the .txt file with the apple 1 code you prefer (for example called NIM.txt) inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv NIM.txt /" return.
4) Reboot the Computer and press CTRL - L to load the file and write his full name NIM.txt then select ASCII pressing 1 on your keyboard PRESS 1 for keyboard and return.
5) GO TO Apple 1 and write 4AFR retrun it will display the GAME.


TO LOAD A BASIC PROGRAM INSIDE POM 1 RASPBERRY PI:

1) Press CTRL - Q to exit from Apple 1 to linux terminal
2) Write startx to enter Raspbian
3) Save from your usb pen to Desktop the .TXT file with the BASIC code you prefer inside the / folder by writing in terminal before "cd Desktop" return then "sudo mv AI.txt /".
4) Reboot the Computer
5) Write E000R in Apple 1 screen and press CTRL - L to load the file, write his full name AI.txt return, then select ASCII pressing 1 then 1 for keyboard and return.
6) Write RUN in Apple 1 screen, press return.


To shutdown the computer press CTRL-Q while in the apple 1 screen then write in the terminal command line sudo shutdown -h now and press return.

Pom1 is an Apple 1 emulator being ported to C from the original Java version. It uses the Simple DirectMedia Layer library and works on most platforms.


Options

Pom1 has many options to configure and utilize the emulator. They are accessed by Ctrl+<letter>. Some options also have corresponding command line parameters.


Option Letter Parameter Description


Load Memory L Load memory from a binary or ascii file. Save Memory S Save memory to a binary or ascii file. Quit Q Quit the emulator. Reset R Soft reset the emulator. Hard Reset H Hard reset the emulator. Pixel Size P -pixelsize <n> Set the pixel size (1 or 2). Scanlines N -scanlines Turn scanlines on or off (pixel size 2 only). Terminal Speed T -terminalspeed <n> Set the terminal speed (Range: 1 - 120). RAM 8K E -ram8k Use only 8KB of RAM or entire 64KB of RAM. Write In ROM W -writeinrom Allow writing data in ROM or not. IRQ/BRK Vector V Set address of interrupt vector. Fullscreen F -fullscreen Switch to fullscreen or window. Blink Cursor B -blinkcursor Set the cursor to blink or not. Cursor Block C -blockcursor Set the cursor to block or @. Show About A Show version and copyright information.


POM 1 Raspberry Pi Operating System Download link (Don't bother the Google ads that says WHOOPS! there was a problem with preview, click download to download it):

[Click Here to Download Operating System ]


[| Click Here to See Video ]


Me and a friend have designed and built a case similar to the one that fitted an Apple Computer 1 in mid 70's, for Raspberry Pi A+ to 4B. here is the link to the page where you can download the files to 3d Print it!


[| Click Here to Download 3d printer files ]


Running the Monitor:



This is an example of how in 43 years the computers are miniaturized and also with the little effort i made is possible to have in a gum packet size computer an Apple 1 with my distro POM 1 in a Raspberry Pi Zero for the price of 25$ complete with cables and SD you see on the top left of this picture, on the right an Apple 1 very similar Clone.



WE ARE NOT RESPONSIBLE FOR ANY DAMAGE MADE BY A WRONG INSTALLATION TO YOUR SD CARD AND TO ANY DAMAGE YOU MAKE TO YOUR RASPBERRY PI AND YOUR PERSON USING IT. THE OPERATIVE SYSTEM WAS TESTED ON MORE THAN ONE MODEL OF RASPBERRY PI AND WORKED FINE.

POM1 source code: https://github.com/anarkavre/pom1 https://www.raspberrypi.org/