6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 9:50 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: 6502 as cloud service
PostPosted: Tue Jul 11, 2017 12:31 pm 
Offline

Joined: Mon Mar 25, 2013 9:26 pm
Posts: 183
Location: Germany
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 8)

_________________
How should I know what I think, until I hear what I've said.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 11, 2017 1:20 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
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.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 11, 2017 1:39 pm 
Offline

Joined: Mon Mar 25, 2013 9:26 pm
Posts: 183
Location: Germany
BigEd wrote:
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:

Quote:
and when it times out, or hits a BRK op-code. It will then return the specified section of memory.


Code:
reqdata = {
        "input" : [
            {
                "start_address" : "c000",
                "data" : "qQGNAAKpBY0BAqkIjQICAA==",
            }
        ],
        "output" : {
            "start_address" : "0200",
            "end_address" : "02ff",
        },
        "execute_address" : "c000",

_________________
How should I know what I think, until I hear what I've said.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 11, 2017 6:57 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
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.)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: