mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
the note about historical versions also being covered wasn't strictly needed and was ugly. the LICENCE being in the root file from the very first commit is sufficient.
35 lines
1.4 KiB
Go
35 lines
1.4 KiB
Go
// This file is part of Gopher2600.
|
|
//
|
|
// Gopher2600 is free software: you can redistribute it and/or modify
|
|
// it under the terms of the gnu general public license as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Gopher2600 is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Gopher2600. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
// Package cartridgeloader is used to specify the data that is to be attached
|
|
// to the emulated VCS.
|
|
//
|
|
// When the cartridge is ready to be loaded into the emulator, the Load()
|
|
// function should be used. The Load() function handles loading of data from a
|
|
// different sources. Currently on local-file and data over HTTP is supported.
|
|
//
|
|
// As well as the filename, the Loader type allows the cartridge mapping to be
|
|
// specified, if required.
|
|
//
|
|
// The simplest instance of the Loader type:
|
|
//
|
|
// cl := cartridgeloader.Loader{
|
|
// Filename: "roms/Pitfall.bin",
|
|
// }
|
|
//
|
|
// It is preferred however that the NewLoader() function is used. The
|
|
// NewLoader() function will set the mapping field automatically according to
|
|
// the filename extension.
|
|
package cartridgeloader
|