Skip to content
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

32-bit segment displays? #170

Open
alnyan opened this issue Nov 24, 2015 · 5 comments
Open

32-bit segment displays? #170

alnyan opened this issue Nov 24, 2015 · 5 comments

Comments

@alnyan
Copy link

alnyan commented Nov 24, 2015

Well, I like your mod very much because my ALU now fits within 16 blocks (without buses, wiring, etc).
I think it would be a great idea to implement 32-bit (but maybe, can be scaled up to 48 bits, as 3 buses can be connected) display.
I suggest it can be wired like this:

                   I
[0][0][0]...[0][0][1] --

(I and -- are busses, [0]s are slave segment displays, [1] is master display)

As one project-red bus holds only 16 bits, it would be great to be able to connect several buses to show the whole number.

Thanks in advance, Awe2K.

@Techokami
Copy link

Why not just have a pair of 16-bit display setups instead? Have the bus with the upper 16 bits go to one display, and a second bus with the lower 16 bits go to another display.

@alnyan
Copy link
Author

alnyan commented Nov 24, 2015

Well, then I'll have something like this on my displays:
(Assuming all 32 bits are ON)
65535 65535 (doesn't look like truth)
This should look like:
4294967295 (maximum value of unsigned int)

Edit:
your suggestion in hex = 0x1869F795F
as it should be = 0xFFFFFFFF

@Victorious3
Copy link
Owner

Then youd start to run into problems like "Whats the upper half of the signal, whats the lower half" or "What if I only get one signal but its supposed to be the upper half" so no, not planning to accept multiple inputs as there is no way to make clear where and what.

@Techokami's idea might work with the right circuit attached... Now you made me curious if there is an easy way to handle conversion

@alnyan
Copy link
Author

alnyan commented Nov 25, 2015

Maybe some changes can be made to seg. display GUI to allow specifying one side for higher half and another for lower half bytes.

@alnyan
Copy link
Author

alnyan commented Nov 25, 2015

2015-11-25_11 52 41
Alright, now got unsigned int to work (as you can see: top bus - lower 16 bits, right bus - upper 16 bits).

I've achieved this by editing some input-related code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants