Search found 243 matches

by BruceRMcF
Tue Aug 13, 2024 5:07 pm
Forum: CX16 General Chat
Topic: A plea to the dev team
Replies: 33
Views: 11258

Re: A plea to the dev team

If we're only using the 6502 commands then there is no point in using the 65816 at all. It isn't just the 32 Rockwell commands we can't use because they won't work on a 65816. We can't use 57 commands that are unique to the 65816 either, because they won't work on a machine with a 65c02. We wouldn'...
by BruceRMcF
Wed May 22, 2024 4:17 am
Forum: CX16 General Chat
Topic: A plea to the dev team
Replies: 33
Views: 11258

Re: A plea to the dev team

So am I supposed to be using 65c02 opcodes or not? Cos I've gotten used to using them. You can use all of the 65C02 opcodes except the RMB/SMB/BBS/BBR opcodes. Those are Rockwell extensions for the 2A03 version of the chip that's in the NES, and they were incorporated into the 65C02 S from WDC (whi...
by BruceRMcF
Tue Apr 23, 2024 10:10 pm
Forum: CX16 Hardware Support
Topic: Writing to NIC at IO3-7 always writes a 9F. Read works fine.
Replies: 9
Views: 2764

Re: Writing to NIC at IO3-7 always writes a 9F. Read works fine.

... Edit for those curious: the time between PHI2 rising edge and $2A appearing on the bus (aka t_MDS ) is 35ns. Given the 5ns resolution of the analyzer and the capacitances of the trace and probes, this aligns reasonably to the 25ns published in the datasheet. Yeah, simply qualifying the WR# and ...
by BruceRMcF
Tue Apr 23, 2024 6:02 pm
Forum: CX16 Hardware Support
Topic: Writing to NIC at IO3-7 always writes a 9F. Read works fine.
Replies: 9
Views: 2764

Re: Writing to NIC at IO3-7 always writes a 9F. Read works fine.

... Your RD# and WR# signals need to be synchronized with PHI2. According to the W5100S datasheet, the parallel bus is sampled when WR# the signal goes low. During a write by the 65C02, the data is not valid until well after RWB goes low. 65C02_Write_Timing.png You want to latch the write value on ...
by BruceRMcF
Fri Apr 19, 2024 3:20 pm
Forum: X16 Feature Requests
Topic: Suggestion: Do/Loop/While/Until/exit
Replies: 7
Views: 2440

Re: Suggestion: Do/Loop/While/Until/exit

The real benefits of having them in RomBASIC is that they can be made to be more efficient, like FOR / NEXT, because you can stack information on a structure stack to be completed by the end of the structure and avoid scanning through the program for the target line as with GOTO. But BASLOAD implent...
by BruceRMcF
Thu Apr 18, 2024 6:03 pm
Forum: CX16 General Chat
Topic: 3 brothers
Replies: 21
Views: 7939

Re: 3 brothers

Thanks Jimmy! Hopefully they'll do another revision of the Otter that doesn't need a bodge but then again, I have no idea what I could use the cartridge slot for? There probably isn't much available in the way of X16 expansions yet are there? There are some in the works: Network, MIDI, and Serial c...
by BruceRMcF
Mon Apr 08, 2024 1:14 pm
Forum: Programming
Topic: Turn off basic rom from x16 / emulator.
Replies: 3
Views: 1269

Re: Turn off basic rom from x16 / emulator.

You can also write a ROM segment, which can then be selected by writing the correct value into $0001 in LowRAM. In real life, that requires setting the correct jumper and flashing the ROM, in the emulator it would involve rebuilding ROM.bin ... I think that is described here: https://github.com/X16C...
by BruceRMcF
Sun Mar 31, 2024 2:46 am
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4120

Re: Are there integer numbers in the basic of x16 please?

comal 80 for the x16 would be great. on the c64 there is the wonderful cobol80. The x16 has great properties from the c64. greeting No, thank you. :D I will have to say I find it pretty remarkable that there is such a thing as COBOL on the C64, in any form at all. I do 2nd Edmond's no thank you tho...
by BruceRMcF
Thu Mar 28, 2024 6:46 pm
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4120

Re: Are there integer numbers in the basic of x16 please?

Quite. According to one account, some higher up at Commodore asked Microsoft to make the Basic able to handle their salary. Adding the bits to the Microsoft Basic floating point mantissa gave enough range to do that. Somehow, I rather doubt that they'd rely on BASIC to do their payroll. As I unders...
by BruceRMcF
Mon Mar 25, 2024 5:37 pm
Forum: Programming
Topic: Are there integer numbers in the basic of x16 please?
Replies: 21
Views: 4120

Re: Are there integer numbers in the basic of x16 please?

... It's not technically "modified," as it predates the IEEE standard by at least 4 years (it looks like the IEEE 754 standard was first published in a proposal dated 1981 and then ratified in 1985), and Microsoft is responsible for the 5 byte floating point representation since the same ...