Page 1 of 1
6502 as cloud service
Posted: Tue Jul 11, 2017 12:31 pm
by mkl0815
Some people are really creative:
http://www.6502cloud.com/
It seems that the 6502 is now "cloud ready". You can run 6502 code as a cloud service. I'm still thinking about a serious use case, but hey it's really cool

Re: 6502 as cloud service
Posted: Tue Jul 11, 2017 1:20 pm
by BigEd
This felt to me as if there must be some clever thing to do with it... but I can't yet see what.
One idea mentioned was to try thousands or millions of code sequences, for example if testing something or searching for optimal coding.
Although it says it will time out, when it does so, it seems you don't get a result. So you do need to run just some thousands of cycles - not sure what the limit might be.
Re: 6502 as cloud service
Posted: Tue Jul 11, 2017 1:39 pm
by mkl0815
Although it says it will time out, when it does so, it seems you don't get a result.
How the timeout works is not clear. Maybe after a defined number of cycles or just depending on the time the code is executed.
But as seen in the description, it will always return the specified memory block at the end. Even if it was a timeout:
and when it times out, or hits a BRK op-code. It will then return the specified section of memory.
Code: Select all
reqdata = {
"input" : [
{
"start_address" : "c000",
"data" : "qQGNAAKpBY0BAqkIjQICAA==",
}
],
"output" : {
"start_address" : "0200",
"end_address" : "02ff",
},
"execute_address" : "c000",
Re: 6502 as cloud service
Posted: Tue Jul 11, 2017 6:57 pm
by BigEd
Hmm, when I tried sending it a loop, it just gave back an error, without the memory dump. That was using the web form. After much wrestling, I got the python version working, with the same result. This is my program:
5gDQ/OYB0PgA
(I
notice that the 6502 model running on Amazon is written in python - that's not going to help! The idea here must be to make things fast - to startup and to run.)