TweetTweetMachineDX
The Deluxe edition of the TweetTweet machine, adding features that make it actually useable.
NEW FEATURE OVERVIEW:
- Input on buttons Z and X, addresses 1 and 2 respectively
- Fixed addressing
- A conditional instruction
The updated pseudocode is as follows:
if(a==0){ ip=b; // Jumps to B }else if(a==0xbf){ // Or decimal 191 if(*b==0){ip+=1;} // Will skip the next instruction if number at B is equal to 0 }else{ *a-=*b; } *1=input("Z"); *2=input("X");
This makes the TweetTweetMachineDX actually usable for games because of input and conditional checks. And, if the hosts of TweetTweet will allow, perhaps you could use this as a framework for the jam, but it's probably unlikely. We'll see.
Here's all of the code: