Search found 241 matches

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: 8
Views: 448

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: 8
Views: 448

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: 382

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: 20
Views: 1161

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: 188

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: 972

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: 972

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: 972

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 ...
by BruceRMcF
Sun Mar 24, 2024 12:56 am
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 1293

Re: Where to find current VRAM layout?

How does the basic relate to the bitmap requirements described? Can you apply/implement what you described in the last three explanations with Basic or has Basic set its memory limits so tightly that you should choose a different language for such games that are super interesting. is the basic over...
by BruceRMcF
Sat Mar 23, 2024 6:25 pm
Forum: Programming
Topic: Where to find current VRAM layout?
Replies: 55
Views: 1293

Re: Where to find current VRAM layout?

... The layers overlap in memory... my example with the multiple layers and setting layer1 at $1:0000 had layer0 set to 4bit, which would occupy only 37.5KB ! If you want to have layer0 be 8bit graphics starting at $0:0000, then you can't put anything else before $1:2C00 and still have 320x240.. .....