6502cloud

Bringing the 80's to the cloud

Have you ever wanted to process your data in 6502 assembly? Well now you can.

API Endpoint

The API endpoint is a HTTPS POST request to
https://api.6502cloud.com/v2/6502cloud
.

API Request Format

The request is a JSON formatted map. It looks like this:
{
    "input" : [
        {
            "start_address" : "c000",
            "data" : "qQGNAAKpBY0BAqkIjQICAA=="
        }
    ],
    "output" : {
        "start_address" : "0200",
        "end_address" : "02ff"
    },
    "execute_address" : "c000"
}

input

Input is a list containing one or more objects made up of start_address and data.

start_address

The start address to place the data. In hex, valid range is 0000-ffff.

data

BASE64 encoded data. This data will contain the program and/or data you wish to process.

output

Output contains a single object of start_address and end_address.

start_address

The start address of the data to return after processing. In hex, valid range is 0000-ffff.

end_address

The end address of the data to return after processing. In hex, valid range is 0000-ffff.

execute_address

Execute_address is the address that the emulator will start executing at.

API Response Format

The response is a JSON formatted map. It looks like this:
{
    "memory" : "AQUIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
}
Future: Return the value of the registers, flags and PC.

memory

memory is a BASE64 encoded string that contains the binary data from the memory block request, after processing.