For reference, this is what I', currently trying with:
/**
* See 7.1 CPU COMMS
* Write address of register to INDEX register, then
* read value from data address.
*/
static uint16 x5000_cpld_read(uint16 reg) {
volatile uint16 result;
*((uint16 *)X_INDEXREG) = reg;
asm volatile ("eieio ...
Search found 77 matches
- Wed Jan 07, 2026 5:51 pm
- Forum: Platform: AmigaOne X5000
- Topic: Doing CPU comms
- Replies: 1
- Views: 123
- Wed Jan 07, 2026 3:05 pm
- Forum: Platform: AmigaOne X5000
- Topic: Doing CPU comms
- Replies: 1
- Views: 123
Doing CPU comms
Reading the Cyrus TRM, I’m trying to do some CPU comms. I can get the value of SIG1 is 0xdead. SIG2 comes back as 0xafbe. And hwrev comes back as 0xbeef. Depending on how I do it. SIG2 should be 0xbeef. And hwrev should be the hardware revision. So, not 0xbeef at least.
Does anyone have a snippet ...
Does anyone have a snippet ...
- Sun Mar 16, 2025 9:57 pm
- Forum: Platform: AmigaOne X1000
- Topic: Xena again
- Replies: 1
- Views: 15156
Re: Xena again
Okay, found the issue.
When getting the memory attributes, you have to check for the MEMATTRF_NOT_MAPPED attribute, and not 0.
xmematt = IMMU->GetMemoryAttrs((APTR)0xF4000000, 0);
// if(0 == xmematt)
if(xmematt & MEMATTRF_NOT_MAPPED)
{ // if Xena has no memory space..
IDOS->Printf ...
When getting the memory attributes, you have to check for the MEMATTRF_NOT_MAPPED attribute, and not 0.
xmematt = IMMU->GetMemoryAttrs((APTR)0xF4000000, 0);
// if(0 == xmematt)
if(xmematt & MEMATTRF_NOT_MAPPED)
{ // if Xena has no memory space..
IDOS->Printf ...
- Sat Mar 15, 2025 12:28 am
- Forum: Platform: AmigaOne X1000
- Topic: Xena again
- Replies: 1
- Views: 15156
Xena again
I wanted to play with some Xena stuff again. Turns out Lyle's old examples from the wiki, and some other examples I had, now throws a DSI when writing to Xena. What's up with that?
I tried opening that xena.resource/XR_DATABUS, which worked, but still got the DSI. The DSI can be ignored, but it ...
I tried opening that xena.resource/XR_DATABUS, which worked, but still got the DSI. The DSI can be ignored, but it ...
- Wed Apr 24, 2019 9:30 pm
- Forum: SDK Support
- Topic: What is the latest baseline OS4 SDK?
- Replies: 17
- Views: 78145
Re: What is the latest baseline OS4 SDK?
Regarding Cairo, salass00 has a port on GitHub, which I’ve compiled including fontconfig support. You can find it here: https://sourceforge.net/projects/odyssey-os4-dependencies/files/
The reason it’s not on os4depot yet, is because I haven’t tested it.
I also created a docker image with gcc 8.2.0 ...
The reason it’s not on os4depot yet, is because I haven’t tested it.
I also created a docker image with gcc 8.2.0 ...
- Sat Apr 01, 2017 12:37 pm
- Forum: Platform: Classic
- Topic: Issue with Zorro III Ram used as Fastmem
- Replies: 2
- Views: 8422
Re: Issue with Zorro III Ram used as Fastmem
I think you need to provide a few more details in order for someone to be able to look into it. How do you copy, Workbench or command line? Do you get a crash log? Do you get the same crash in command line and Workbench? What other cards do you have installed? Which OS 4 version? FE?
I'm can't ...
I'm can't ...
- Mon Nov 21, 2016 11:54 pm
- Forum: Platform: AmigaOne X1000
- Topic: Xena
- Replies: 21
- Views: 53601
Re: Xena
Yeah, I really like the serial logger regarding its real world usability. But like you say, it ain't super flashy. A flashy LED thingie would be flashy, but less usable.
I have the prototype board, so I might solder something, although I'm a bit reluctant, and slow to start. Also thought of some ...
I have the prototype board, so I might solder something, although I'm a bit reluctant, and slow to start. Also thought of some ...
- Wed Nov 09, 2016 11:34 pm
- Forum: Platform: AmigaOne X1000
- Topic: Xena
- Replies: 21
- Views: 53601
Re: Xena
Okay, so, basically, what you're saying is that there's nothing really interesting to do with Xena without actually digging out your solder iron, order some chips and build away? Because there's no real way of transferring any useful data from AmigaOS to Xena and back.
Now, I didn't buy my X1000 ...
Now, I didn't buy my X1000 ...
- Tue Nov 08, 2016 5:54 pm
- Forum: Platform: AmigaOne X1000
- Topic: Xena
- Replies: 21
- Views: 53601
Re: Xena
In Yahoo Groups A1-X1000 there should/might be some example programs for Xena.
Yeah, I saw that, and applied for membership – however no reply as of yet. Applied a week ago or so.
So, this GPIO on PA6T - should that be faster than flipping one bit on the localbus? All I've heard is how slow the ...
Yeah, I saw that, and applied for membership – however no reply as of yet. Applied a week ago or so.
So, this GPIO on PA6T - should that be faster than flipping one bit on the localbus? All I've heard is how slow the ...
- Sun Nov 06, 2016 2:54 pm
- Forum: General Developer Support
- Topic: DLOpen: how to get the Elf32_Handle roothandle?
- Replies: 1
- Views: 4056
DLOpen: how to get the Elf32_Handle roothandle?
In the autodoc for elf.library the DLOpen function is said to require an ELF handle:
RootHandle - The ELF handle of the program using this function.
The user program is responsible for passing this, which MUST be
a valid elf handle and MUST be this program's elf handle, plus
it must have been re ...
RootHandle - The ELF handle of the program using this function.
The user program is responsible for passing this, which MUST be
a valid elf handle and MUST be this program's elf handle, plus
it must have been re ...