123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|740|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> This is quite interesting.

Sun, 18 Nov 2007, 09:27
power mousey
The Mach64 Programmable Logic Kit


www.xgamestation.com/phpbb/viewtopic.php?t=6382

I also found out about CPLD.

en.wikipedia.org/wiki/CPLD


|edit| I would probably get this but my hardware heart
and my wallet is saved up towards the XGS 6502. |edit|

Sun, 18 Nov 2007, 10:52
Phoenix
What is the Mach64 programmable logic kit?
Sun, 18 Nov 2007, 10:58
Dabz

What is the Mach64 programmable logic kit?


Its a kit that can program logic for a Mac64!?!

Whatever that means.. hehehe

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Sun, 18 Nov 2007, 11:13
power mousey
hehe

seriously,
in all probablity....a hobbyist kit from Andre Lamothe
for learning and experimenting with Field Gate Arrays and thousands and tens of thousands of logic gates for both hardware hacking and software programming.

if anyone is interested just contact him to sign up
as a beta tester. You'll have to sign a NDA(Non-Disclosure Agreement).

|edit| I'm still set on the XGS 6502. come on Andre, get it out |edit|
Tue, 20 Nov 2007, 03:15
power mousey

here are some screenshots
of the Mach64 programmable logic kit
also the book is included too.








a hardware project with it



Tue, 20 Nov 2007, 13:39
dna

Looks like you can make the cartridges for different gaming modules with this.

I've never seen it before.

-=-=-
DNA
Tue, 20 Nov 2007, 15:32
power mousey

well hey dna

you aint seen nothing yet!
especially with the up n coming XGS 6502.

unlike the original XGS and even the Hydra...
this XGS 6502 will be some hardware oriented.
but more towards software and game programming
with 6502 assembly language, an advanced built-in Basic
and perhaps a tool chain system later with perhaps
both a C and Forth-like language as well.

I wish Andre would put up some screenshots and/or
some code demos from the XGS 6502. Yet, its top secret hush hush and with beta testers and demo coders writing demos,games and other apps on the various prototypes.
Its very tight lid and sealed.

Yet, here is some code from using the original XGS emulator/editor and assembler...and no doubt will be used in one form or another for use in XGS 6502 assemly language programming.




I could continue just using this. But its just an alpha version and incomplete. Also, I don't want to miss out on the XGS 6502 when it comes out.

Wed, 21 Nov 2007, 10:11
power mousey

um if anybody is curious or even interested....

under zero page data,
the memory addresses of 0 to 255
are allocated and used for the
keyboard scan codes.

now and under this section of code:




initially, when the key poll routine is called
the memory map of zero page data is reset.
Since this is an alpha version and the docs for the various GPU and API functions is brief:
I don't know if the memory map is zeroed out
and if a particular key is pressed that corresponds to one of the memory map keys is set to a one. While the other keys remain in a state of 0.
There could be a different function or method for this API function of polling for a key input.
But the one I assume will suffice, is simple and works.
And highly probable is the method used.


so if a Escape key is pressed and its scan code is
1. So the contents of register Y is loaded with 1 to test for a Escape key.
the accumulator or register A is loaded with the contents of the first memory address of key_map...and which is $00. And the contents of $00 contain 0. Add the 1 in the reister Y to key map memory adress and the memory address is $01...zero page memory address.
Finally, register A is loaded with the contents of memory addrss $01. The contents of both contain 1.
Since the whole key map is zeroed out in all of its zero page memory addresses of key map...except for key_map memory address $01 which contains a 1. The Escape key with a scan code of 1 was pressed and acquired too.
And....and, since a 1 from memory address is loaded into the accumulator this affects the flag status bit. Since a zero is not contained in the zero flag..it sets/resets to a 0 for FALSE.
The BNE exit_routine is true and will perform its entire intstruction. The program will exit. Since, we are testing for a Escape key and with the scan code of 1.
The keys are all memory mapped.

Actually its all quite simple too.