VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
ExpansionPortAPI Struct Reference

Expansion Port Public API. More...

#include <VirtualC64.h>

Public Member Functions

Analyzing cartridges.
CartridgeTraits getCartridgeTraits () const
 Returns the traits of the current cartridge.
 
const CartridgeInfo & getInfo () const
 Returns the state of the current cartridge.
 
const CartridgeInfo & getCachedInfo () const
 Returns the traits of the current cartridge.
 
CartridgeRomInfo getRomInfo (isize nr) const
 Returns the state of one of the cartridge ROM packets.
 
Attaching and detaching cartridges.
void attachCartridge (const std::filesystem::path &path, bool reset=true)
 Attaches a cartridge to the expansion port.
 
void attachCartridge (const MediaFile &c, bool reset=true)
 Attaches a cartridge to the expansion port.
 
void attachReu (isize capacity)
 Attaches a cartridge to the expansion port.
 
void attachGeoRam (isize capacity)
 Attaches a GeoRAM module to the expansion port.
 
void attachIsepicCartridge ()
 Attaches an Isepic module to the expansion port.
 
void detachCartridge ()
 Detaches the currently plugged in cartridge.
 

Detailed Description

Expansion Port Public API.

Member Function Documentation

◆ attachReu()

void attachReu ( isize capacity)

Attaches a cartridge to the expansion port.

Attaches a RAM Expansion Unit to the expansion port.

◆ getRomInfo()

CartridgeRomInfo getRomInfo ( isize nr) const

Returns the state of one of the cartridge ROM packets.

Parameters
nrNumber of the ROM packet.

The documentation for this struct was generated from the following files: