-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output ports in GPU not working correctly #1
Comments
I think this is intended since Gpu is clientside, but I'm not 100% familiar with it. |
The GPU has code for sending external I/O writes to the server, but only for the membus (though there is no reason this couldn't be extended to support the IObus). |
While the documentation doesn't say much about port I/O, the way the MemBus is described kinda implies that it's the only way to send data back to the server. Chapter 7, section 1.3 (page 246) - Features
Chapter 7, section 3 (page 254) - Internal Registers
|
So the 63488 should work port output I presume? |
Reading into membus not worked for me too |
Writing to the port registers only overwrites the cached copy of the value previously read from the server. The documentation suggests that this might be intentional. |
The 64k memory model does not support MemBus I/O (on your version). Use 128k instead. |
The ports on the GPU only support input, but do not support output.
Expected Behavior
When I write
mov port0, X
or
mov 63488, X
I expect this to reflect on the IOBus and there will be X at 0 cell
Current Behavior
For some reason this only works for input, i.e.
mov X, port0
works as it should, butmov port0, X
does not work, or rather it works, and X really gets into cell 63488, but it is not accessible from the outside.Possible Solution
I'm not sure, but in the code I have not seen any logic related to writing to IOBus, read only.
Steps to Reproduce
1.Enter the following code in the editor:
2.Install GPU somewhere
3.Install near Data port
4.Install a screen next to it
5.Connect screen to port0 of Data Port
6.Connect IOBus to Data Port
7.Refresh GPU
0 should still remain on screen
Context
I would like to send requests from the GPU to receive any data from the outside, because the internal memory of the GPU is limited, and for this IOBus and MemBus are provided there, but for some reason, they both work only for input.
The text was updated successfully, but these errors were encountered: