Search found 57 matches

by kranenborg
28 November 2023, 8:38 AM
Forum: Files
Topic: Project Showcase: Mahjong calculator
Replies: 1
Views: 4945

Re: Project Showcase: Mahjong calculator

And of course it never hurts to finally build it into a nice case:

Image
by kranenborg
18 November 2023, 2:07 AM
Forum: ZBasic Language
Topic: New Compiler Release, New Devices
Replies: 4
Views: 6398

Re: New Compiler Release, New Devices

Hi All, I have used the ClockPrescaler option to save power with success. In many cases the ZX-device's default speed is unnecessarily high, often the device's main advantage to me is the ZBASIC language expressiveness. However, a too high prescaler factor may lead to a loss of connection with the d...
by kranenborg
18 November 2023, 1:36 AM
Forum: ZBasic Native Mode
Topic: How to revive a bricked device
Replies: 1
Views: 4305

Re: How to revive a bricked device

Hi Rich, I am a bit late to the party, but a recent revival in a ZX-based project (and my revived interest in the device) caused me noting your question: I had a similar issue. It was caused by the fact that I applied the ClockPrescaler option with a large factor (8x for a ZX-328L): it would only pr...
by kranenborg
05 December 2022, 14:54 PM
Forum: Files
Topic: O-O Classes for Data Acquisition directly into MS-Excel
Replies: 5
Views: 12905

Re: O-O Classes for Data Acquisition directly into MS-Excel

PLQ-DAQ is now available (upgrade to Windows 10 - likely compatible with W11) from the following link:
https://www.parallax.com/package/plx-da ... ft%20Excel

Regards,
Jurjen
by kranenborg
01 August 2019, 23:23 PM
Forum: ZBasic Language
Topic: Updating output pins at speed
Replies: 6
Views: 4193

Re: Updating output pins at speed

Pursuing my ongoing obsession with clock projects ... I was intending to use a 328n but I note that there is not an entire output port of 8 pins available (to drive an external DAC AD7302) as for speed i was going to address the register directly such as:- register.portb=255 but as an entire port i...
by kranenborg
29 December 2017, 12:19 PM
Forum: Files
Topic: Simple Universal ZBASIC programming and prototyping device
Replies: 0
Views: 5222

Simple Universal ZBASIC programming and prototyping device

Dear all, Lately I have been working on a universal ZBASIC programmer + rapid prototyping device (with a ZX-328L in it) and I am proud to present my results here as it proved extremely flexible and helpful. It is based on a circuit that allows any ZBASIC device to be programmed (the ZX24 and ZX40/ZX...
by kranenborg
11 June 2017, 8:32 AM
Forum: ZX-40
Topic: zx-328n start up
Replies: 5
Views: 6147

Hello, The manual mentions that at least pin 3 (TX) needs to be pulled high, pin 1 is already internally pulled high. On my programming board for the ZX-328 I have only pulled pin 3 high, and this always works! I can imagine that this is the issue in your case, and it can be easily checked I guess. ...
by kranenborg
27 October 2016, 14:06 PM
Forum: General
Topic: ESP32
Replies: 16
Views: 10488

Hi, Although I am sympathetic to the idea to have the best of three worlds (ZBASIC + Arduino + ESPxx), it is not entirely clear to me what the business case for Don would be in order to make a living out of it, and that would be a requirement for the development that you envisage to happen. Maybe an...
by kranenborg
21 October 2016, 10:44 AM
Forum: General
Topic: ESP32
Replies: 16
Views: 10488

I actually rather hope that the current codebase for ZBasic (including the Arduino-library) can be kept up-to-date (Arduino is now at version 1.6.xx, its ZBasic implementation at 1.0.5), I personally would not be so interested into spreading out to new platforms. To me the 8-bit world is still incre...
by kranenborg
14 October 2016, 13:04 PM
Forum: Files
Topic: Project Showcase: Mahjong calculator
Replies: 1
Views: 4945

Project Showcase: Mahjong calculator

The popular Mahjong game (4 players using ivory bricks) uses a points reckoning system that balances the individuals' scores in a certain way so that the net result always equals zero. This process is rather tedious and therefore a good candidate for automation. My oldest son and I undertook the pro...
by kranenborg
12 March 2015, 1:29 AM
Forum: Files
Topic: Example use of "FirstTime" library function: GUI i
Replies: 5
Views: 4082

Thanks Don, the solution then simplifies to the following code, tested on a ZX-328nu: Option Objects Class DisplayGUI Private Const maxIntro as Byte = 4 Private Static DownloadCounter as Persistent Byte Public Sub _Create() If FirstTime Then DownloadCounter = MaxIntro Else If Downloa...
by kranenborg
11 March 2015, 15:47 PM
Forum: Files
Topic: Example use of "FirstTime" library function: GUI i
Replies: 5
Views: 4082

Found the asnwer amyself after compiling and then reading section 4.17 of the manual: Class members with the persistent attribute must be declared static ...

/Jurjen
by kranenborg
11 March 2015, 15:11 PM
Forum: Files
Topic: Example use of "FirstTime" library function: GUI i
Replies: 5
Views: 4082

Thanks Don, Somehow I had forgotten that ZBASIC variables also can be located in persistent memory; some other systems treat EEPROM as a separate memory bank accessible only through Peek/Poke-like operations. Your proposal will make the solution much more straightforward and simple. Just one questio...
by kranenborg
10 March 2015, 23:47 PM
Forum: Files
Topic: Example use of "FirstTime" library function: GUI i
Replies: 5
Views: 4082

Example use of "FirstTime" library function: GUI i

I have found the "FirstTime" Library function (which returns True the first time it is called after a program download, otherwise False) very useful in an application (MahYong score calculator) where an educational but rather lengthy start-up message about the use of a device only needs to...
by kranenborg
02 March 2015, 3:07 AM
Forum: ZBasic Language
Topic: New Compiler Release, New Devices
Replies: 4
Views: 6398

Hello Don, Both aspects (new devices & clock prescaler selection option) are very good news for those on the road to lower power questions, many thanks for these new options. It appears to me that with the prescaler options there potentially might be a possibility to lower the Vcc level even fur...