VampireTool - version 1.03

Overview

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

VampireTool is embedded in the SAGA Drivers packages since the 0.9c release.


Releases

  • $VER: VampireTool 1.03 (26.5.2016) : Added -noixemul in Makefile.
  • $VER: VampireTool 1.02 (14.4.2016) : First Public release.
  • $VER: VampireTool 1.01 (12.4.2016) : Initial release.

Features

Syntax Description
>VampireTool HELP This help.
>VampireTool CHECK Check if Board present.
>VampireTool CORE Output Core revision String.
>VampireTool COREREV Output Core revision Number.
>VampireTool SERIAL Output Board Serial Number.

Vampire CORE usage

Input :

>VampireTool CORE
>VampireTool 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)

Vampire COREREV usage

Input :

>VampireTool COREREV
>VampireTool COREREV >ENV:CoreRev
>Echo "CoreRev:" $CoreRev

Output :

3229
CoreRev: 3229

Vampire SERIAL usage

Input :

>VampireTool SERIAL
>VampireTool SERIAL >ENV:Serial
>Echo "Serial: " $Serial

Output :

0x26F0A280C118B206-4
Serial: 0x26F0A280C118B206-4

Vampire CHECK usage

VampireTool CHECK

IF $RC EQ 0
  ECHO "Vampire detected."
ELSE
  ECHO "Vampire NOT detected."
ENDIF
VampireTool CHECK

IF $RC GT 0
  ECHO "Vampire NOT detected."
ELSE
  ECHO "Vampire detected."
ENDIF
VampireTool CHECK

IF WARN
  ECHO "Vampire NOT detected."
ELSE
  ECHO "Vampire detected."
ENDIF
VampireTool CHECK

IF NOT WARN
  ECHO "Vampire detected."
ELSE
  ECHO "Vampire NOT detected."
ENDIF

Home | Links

Last modified: le 2016/05/26 15:41