PiStorm32 y Emu68 - Maverick-Shark/retroGuru GitHub Wiki

Imagen RW PiStorm EMu68k

Preparar la microSD (64GB)

Lo primero es preparar la mSD para el Emu68 y las particiones de Amiga. Para ello vamos a usar la herramienta diskpart desde una ventana cmd como Administrador en Win10.

c:\> diskpart
DISKPART> list disk
DISKPART> select disk 2           // Es el disco de 64GB (59GB)
DISKPART> clean                   // Borra (limpia) la microSD
DISKPART> cre part pri size=504   // Crea la partición de 504MB, donde van los archivos de Emu68
DISKPART> cre part pri            // Crea una paritición con el resto de espacio de la microSD (Amiga OS)

DISKPART> sel part 1              // Selecciona la partición 1
DISKPART> list part               // Se comprueba que está seleccionada la partición correcta
DISKPART> assign                  // Asigna una letra (unidad) de disco a la partición
DISKPART> format fs=FAT32 label=Emu68 quick           // Formatea la partición 1 como FAT32

DISKPART> sel part 2              // Selecciona la partición 2
DISKPART> list part               // Se comprueba que está seleccionada la partición correcta
DISKPART> set id=76               // Asignar el tipo de partición utilizado en Amiga (la 76)

DISKPART> exit

Instalación de AmigaOS 3.2.2.1

Use the pfs3 file system

  • Check Advanced options and then click “Add/Update”
  • Click Add New File System
  • Enter filename f:pfs3aio and click OK
  • Change DosType to 0x50465303 and remember to press Enter in the field
  • Click OK and OK to get back to your partitions
  • Select DH0, and click “Change” to change to the new file system
  • Select Custom File System or PFS/03 (depending on your Workbench version, I think)
  • Make sure Identifier says 0x50465303 (otherwise change it)
  • Change MaxTransfer to 0x1fe00 (and press enter)
  • Click OK

Formatear la partición DH0

  • Utilizaremos la utilidad pfsformat:
> DF1:
> cd c
> pfsformat device DH0: name System quick noicons fnsize=106

Istalación AmigaOS 3.2

  • Arrancamos desde el disco Install3.2.adf e instalamos en System:
  • Irá pidiendo los discos necesarios: Workbench3.2.adf, DiskDoctor.adf, Locale.adf, Locale-EN.edf, Extras3.2.adf, Classes3.2.adf, Fonts.adf, Storage3.2.adf, Backdrops3.2.adf and GlowIcons3.2.adf.
  • Una vez terminada la instlación, pide reiniciar.

Instalación de los updates y hotfix

  • Primero de todo copiamos lha en C:
1.System:> Programs:lha.run Ram:
1.System:> copy Ram:lha_68020 C:lha 
  • También el Installer:

NOTA: La mejor opción es descomprimir el .lha con el 7zip y copair el Installer en C:

1.System:> lha x Programs:Installer-43_3.lha Programs: 
1.System:> Copy Programs:Installer43_3/Installer C: 
1.System:> endcli
  • Descomprimmos el Update3.2.1.lha (con el 7Zip) y montamos en DH0: el disco Update.3.2.1.adf y lanzamos el Install.

  • Repetimos para el Update3.2.2.lha y para el Hotfix3.2.2.1.lha

  • Copiamos el contenido de las tools del Emu68 (Emu68Tools.adf) y las MMULibs (es un disco que viene en el AmigaOS 3.2) en System:

1.System:> copy DH0: to DF0: all noreq clone

Y actualizamos el EmuControl descargado de la rep de las EMu68Tools

1.System:> copy Programs: to System:C all noreq clone
  • También installamos las MUI en DH0: System:
> lha x Programs:mui38usr.lha Programs: 
  • Install MUI steps:
1. Double Click Programs.
2. Double Click on MUI directory.
3. Double Click Install-MUI.

Download: mui38usr.lha

Install Picasso96 drivers (Raspberry Pi GPU support):

  1. Copy last Picasso96 drivers and emu68-vc4.card (from Emu68-Tools) to Programs:
1.System> lha x Programs:Picasso96.lha Ram:
  1. Install Picasso96 drivers selecting PicassoIV board

  2. Copy emu68-vc4.card to Picasso96 Libs dir

1.System> copy RAM:emu68-vc4.card LIBS:Picasso96/

Emu68

  • Descargamos la última versión de Emu68 desde aquí: PiStorm32-Lite Emu68
  • Descargamos las Emu68 Tools desde aquí: Emu68-Tools
  • Descomprimimos el archivo en una carpeta y copiamos todo el contenido de esa carpeta en el directorio raíz de la microSD (partición EMU68).
  • Para que funcione el Amiga, necesitamos un Kickstart, en mi caso he usado la última versión del AmigaOS 3.2.2; copiamos ese Kickstart al directorio raíz de la mSD y lo renombramoc como kick.rom.
  • Editamos el archivo config.txt y lo ajustamos a nuestras preferencias y hardware.
  • En mi caso uso una RPi 3A+ que tiene 512MB de RAM y planeo usar una resolución de 1024x768 en mi viejo monitor LCD 4:3 El fichero config.txt quedaría así.
# Sample config.txt file for booting Emu68 with Pistorm
kernel=Emu68-pistorm32lite
disable_splash=1
arm_64bit=1

# Limit total memory size to 2GB for now. Necessary for CM4/Pi4
total_mem=512

# Default boot delay is one second. Uncomment this line if you want zero second delay
boot_delay=0

# This is important so that GPU firmware does not add its overlay icons on the screen
# If you also want to disable speed throttling in case of undervoltage, set this value to 2
avoid_warnings=1

# Enable the options below to increase speed of ARM cpu to 1.5GHz
# Keep in mind this may render your RasPi3 unstable and eventually void the warranty!
#force_turbo=1
#over_voltage=4
#arm_freq=1800
#core_freq=500
#sdram_freq=600

# Force HDMI signal even if nothing is connected
hdmi_force_hotplug=1

# Limit GPU memory a little, force 1080p video mode. Comment out the hdmi_mode line if your monitor
# does not like it. For list of all modes please refer to RasPi documentation
# https://www.raspberrypi.com/documentation/computers/config_txt.html#hdmi-mode
gpu_mem=64
hdmi_group=2
hdmi_mode=18

# Experimental 2560x1440 50Hz mode for RaspberryPi which you can give a try. If you do, 
# comment the hdmi_mode above
#hdmi_group=2
#hdmi_mode=87
#hdmi_cvt=2560 1440 50 3 0 0 1
#max_framebuffer_width=2560
#max_framebuffer_height=1440
#hdmi_pixel_freq_limit=400000000

# The ROM is selected through initramfs parameter. As a file name give the full name of your
# kickstart file which you have placed on the RasPi boot partition. If there is a FPGA firmware
# to load (PS32Lite) or to upgrade (all others), it must be gzip-compressed and passed **before**
# the ROM name, separated from the rom with a comma.
#initramfs firmware.bin.gz,kick.rom
initramfs kick.rom

Cambios realizados:

kernel=Emu68-pistorm32lite

total_mem=512    // El máximo de RAM de la RPi 3A+
hdmi_mode=18     // Ajustar la salida HDMI a 1024x768
gpu_mem=64       // Asignar 64MB a la memoria gráfica.

NOTA: Ajuestes HDMI donde podéis ver (o descargar) todos los modos de pantalla seleccionables.

Gotek

Links