rpcDrive

Quick rating

Community listing page, reviews here may not be monitored by the author.

rpcDrive

By asieOwner , asiekierka

No reviews yet

RedPower 2 - ComputerCraft disk drive compatibility add-on.

Tech
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
MIT License
Latest Version
rpcDrive 0.1.0

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

In the 1980s, it wasn't at all uncommon to see software development houses use a more powerful computer to create and debug software for a less powerful machine. In this spirit, rpcDrive is a mod for Minecraft which adds cross-mod compatibility between RedPower 2's Disk Drives and ComputerCraft's Computers, allowing using Lua scripts to read data from and write data to RedPower 2's 65EL02-based computer ecosystem.

In addition, the mod comes with a built-in (automatically installed) utility called rpc/drive, which allows performing basic read, write and copy operations on RP2 floppies.


ComputerCraft API Documentation


RP2 Disk Drives are registered as peripherals of type rp_drive. It is important to note that Floppy Disks from that mod are operated on in terms of 128-byte sectors; the rp_drive peripheral provides an internal 128-byte buffer, from which sectors are read from and written to.

Indexes and sector counts are provided 1-indexed, as is the case across Lua.

Name Arguments Description
isPresent - Returns true if a floppy disk is present.
hasData - Returns true if a floppy disk contains data.
isReadable - Returns true if the inserted floppy disk can be read from.
isWritable - Returns true if the inserted floppy disk can be read from.
getSerialNumber => string Returns the floppy disk's internal identifier (its "serial number") in the form of a string.
getLabel => string Gets the floppy disk's displayable label.
setLabel newLabel (string) Sets the floppy disk's displayable label.
getBytesPerSector => number Returns the number of bytes in a sector; typically 128.
getSectorCount => number Returns the number of sectors currently written to the inserted floppy.
getSectorSize => number Returns the number of total sectors on the inserted floppy, including ones which have never been written to.
readSector sectorIndex (number) Read a sector from the disk to the internal buffer.
writeSector sectorIndex (number) Write a sector from the internal buffer to the disk.
erase - Erase the floppy disk's contents.
initialize - Initialize an empty floppy disk; this gives it a new serial number. Note that writing a sector to an empty floppy disk initializes it automatically.
getBufferByte index (number) Read a byte from the internal buffer.
setBufferByte index (number), value (number) Write a byte to the internal buffer.
 

In the 1980s, it wasn't at all uncommon to see software development houses use a more powerful computer to create and debug software for a less powerful machine. In this spirit, rpcDrive is a mod for Minecraft which adds cross-mod compatibility between RedPower 2's Disk Drives and ComputerCraft's Computers, allowing using Lua scripts to read data from and write data to RedPower 2's 65EL02-based computer ecosystem.

In addition, the mod comes with a built-in (automatically installed) utility called rpc/drive, which allows performing basic read, write and copy operations on RP2 floppies.

ComputerCraft API Documentation

RP2 Disk Drives are registered as peripherals of type rp_drive. It is important to note that Floppy Disks from that mod are operated on in terms of 128-byte sectors; the rp_drive peripheral provides an internal 128-byte buffer, from which sectors are read from and written to.

Indexes and sector counts are provided 1-indexed, as is the case across Lua.

Name Arguments Description
isPresent - Returns true if a floppy disk is present.
hasData - Returns true if a floppy disk contains data.
isReadable - Returns true if the inserted floppy disk can be read from.
isWritable - Returns true if the inserted floppy disk can be read from.
getSerialNumber => string Returns the floppy disk's internal identifier (its "serial number") in the form of a string.
getLabel => string Gets the floppy disk's displayable label.
setLabel newLabel (string) Sets the floppy disk's displayable label.
getBytesPerSector => number Returns the number of bytes in a sector; typically 128.
getSectorCount => number Returns the number of sectors currently written to the inserted floppy.
getSectorSize => number Returns the number of total sectors on the inserted floppy, including ones which have never been written to.
readSector sectorIndex (number) Read a sector from the disk to the internal buffer.
writeSector sectorIndex (number) Write a sector from the internal buffer to the disk.
erase - Erase the floppy disk's contents.
initialize - Initialize an empty floppy disk; this gives it a new serial number. Note that writing a sector to an empty floppy disk initializes it automatically.
getBufferByte index (number) Read a byte from the internal buffer.
setBufferByte index (number), value (number) Write a byte to the internal buffer.

Screenshots

Gallery

  • rpc/drive utility
    rpc/drive utility Built-in rpc/drive utility for ComputerCraft, showing the "info" and "copy" features.
  • Shared Disk Drive
    Shared Disk Drive ComputerCraft and RedPower 2 sharing an RP2 Disk Drive.
  • rpc/drive utility
    rpc/drive utility Built-in rpc/drive utility for ComputerCraft, showing the "info" and "copy" features.
  • Shared Disk Drive
    Shared Disk Drive ComputerCraft and RedPower 2 sharing an RP2 Disk Drive.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Total Downloads
CurseForge
<1,000
Modrinth
~3,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works