VControl

Overview

VControl is a small AmigaOS 3.x program that offers some features dedicated to the Vampire boards. It makes use of the SAGA API described in SAGA SPI Flash Core article.

VControl is included in the SAGA Drivers package.

To enable “Fast IDE” for achieving high data transfer speeds, please read IDESPEED usage below.

Features

Syntax Description
>VControl AKIKO Initialize Akiko C2P routines
>VControl BLITSYNC Change the BlitSync mode. 0=Off, 1=On
>VControl BOARD Output Board information
>VControl BOARDID Output Board identifier
>VControl CLOCK Output Core Clock (Cycles)
>VControl CORE Output Core Revision String *
>VControl CPU Output CPU information
>VControl DETECT Detect compatible board *
>VControl DPMS Change the DPMS mode. 0=Off, 1=On *
>VControl FPU Change the FPU mode and REBOOT. 0=Off, 1=On
>VControl HELP This help
>VControl HERTZ Output Core Frequency (Hertz)
>VControl IDESPEED Change the IDE speed. 0=Slow, 1=Fast, 2=Faster, 3=Fastest *
>VControl MAPROM Map a ROM file
>VControl NOMAPROM Disable MapROM feature
>VControl NORGB Standby the native Amiga RGB output
>VControl SDSPEED Change the SDPort speed. 0=Fastest, 255=Slowest *
>VControl SERIALNUMBER Output Board Serial Number *
>VControl SUPERSCALAR Change the SuperScalar mode. 0=Off, 1=On
>VControl TURTLE Change the Turtle mode. 0=Off, 1=On
>VControl VBRMOVE Change the VBR location. 0=ChipRAM, 1=FastRAM
>VControl VIDEOSLEEP Toggle the SAGA Video DMA (Off/On)

CORE usage

Input:

>VControl CORE
>VControl CORE >ENV:Core
>Echo "Core:" $Core

Output:

Vampire V600-128 Apollo rev 3229 x11 c7gk (silver6)
Core: Vampire V600-128 Apollo rev 3229 x11 c7gk (silver6)

DETECT usage

VControl DETECT

IF $RC EQ 0
  ECHO "Vampire NOT detected."
ELSE
  ECHO "Vampire detected."
ENDIF
VControl DETECT

IF $RC EQ 1
  ECHO "Vampire detected."
ELSE
  ECHO "Vampire NOT detected."
ENDIF

DPMS usage

This option uses the VESA Display Power Management Signaling (DPMS) standard to turn on/off the monitor or TV that is connected to the Vampire via Digital Video Out.

  • VControl DPMS=0 → Turns on the monitor
  • VControl DPMS=1 → Turns off the monitor

“Stand-by” and “Suspend” states are not supported.


IDESPEED usage

Default (slow) mode:

  • VControl IDESPEED=0 → PIO Mode 0
    • Recommended for very old hard disks and CD/DVD drives.

“Fast IDE” modes sorted by increasing speed:

  • VControl IDESPEED=1 → PIO Mode 4
    • Recommended for most hard disks and CD/DVD drives, and for very old CompactFlash cards.
  • VControl IDESPEED=2 → PIO Mode 5
    • Recommended for most CompactFlash cards.
  • VControl IDESPEED=3 → PIO Mode 6
    • Recommended for fast CompactFlash cards.

It is possible that your storage device (along with any intermediate adapters and cables you might have) supports a speed that is higher than the level recommended above. To explore this possibility, you can try setting IDESPEED to a higher level and thoroughly testing some data transfer operations. If you do not get any data corruption, you can keep IDESPEED at that higher level.

If you attach multiple devices to a single IDE cable, the slowest device will dictate the maximum speed on this IDE interface. For example, if you have connected a CompactFlash card that supports PIO mode 6, together with a hard disk which only supports PIO mode 4, then you would need to limit yourself to IDESPEED=1.

To enable the desired “Fast IDE” mode on every boot, you should add the appropriate VControl IDESPEED command towards the beginning of your S:Startup-Sequence.


SDSPEED usage

When accessing an SD card, the SAGA SD driver (sagasd.device) queries the card and negotiates the appropriate speed automatically. So, normally, there is no need to set the SDSPEED manually. However, if you believe that your SD card (along with any intermediate adapters and cables you might have) supports a speed that is higher than the negotiated speed, you can try setting SDSPEED to a faster level and thoroughly testing some data transfer operations. If you do not get any data corruption, you can keep SDSPEED at that faster level.

Setting SDSPEED is only effective after mounting the SD card. (In other words, after sagasd.device accesses the SD card and negotiates the initial speed.)

To enable the desired SDSPEED on every boot, you should add the appropriate VControl SDSPEED command to your S:User-Startup file, making sure that it runs after the SD card is mounted.


SERIALNUMBER usage

Input:

>VControl SERIALNUMBER
>VControl SERIALNUMBER >ENV:Serial
>Echo "Serial: " $Serial

Output:

0x26F0A280C118B206-4
Serial: 0x26F0A280C118B206-4

You are here: start » system_tools » vcontrol

Last modified: le 2020/03/18 04:42