Recent

Author Topic: Hyperlink labels [SOLVED]  (Read 11119 times)

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Hyperlink labels [SOLVED]
« Reply #15 on: May 19, 2021, 10:48:05 pm »
Hi

8 Bit CPUs and plattforms dont seem to be "official":

https://wiki.freepascal.org/Platform_defines

But I know there are versions (some in progress) for the Z80 (german forum) and for the 650x.

Winni

PS.: Z180 (german) : https://www.lazarusforum.de/viewtopic.php?f=11&t=12987&p=119542&hilit=Z80#p119542

« Last Edit: May 19, 2021, 10:53:34 pm by winni »

pascal111

  • Sr. Member
  • ****
  • Posts: 423
  • Un trabajo en equipo para programas serias.
Re: Hyperlink labels [SOLVED]
« Reply #16 on: May 20, 2021, 12:29:04 am »
Are there devices yet CPU16 ?!

Yes. For example the MSDOS targets (the real mode ones, not Go32v2) are 16 bits.

There are even 8 bits targets (Z80?, microcontrollers, etc), IIRC, though I'm not sure whether they can be considered "official" :-[

لقد جرّني كلامكـ إلى القراءة عن https://en.wikipedia.org/wiki/DOS_extender#DOS_extenders وهذه معلومات جديدة ولو أنّها تحوي كذلكـ بعض طبيعة المستوى المتدني لفهم تفاصيل الموضوع ،لقد توقّع أنّ الـ DOS أصبح retro ومن الماضي ،معلوماتكـ ممتازة ،العضلات الذّهنيّة تصف شخصيّة الإنسان أكثر من العضلات البدنيّة وليست العضلات البدنيّة والقوّة إلا مظاهر لا تدل حقيقةً على الأفضليّة لصاحبها على الآخرين.

google translate:

"Your words have led me to read about https://en.wikipedia.org/wiki/DOS_extender#DOS_extenders This is new information and although it also contains some low-level nature to understand the details of the topic, I expected DOS to become retro And from the past, your information is excellent. Mental muscles describe a person’s personality more than physical muscles. Physical muscles and strength are only "apparent" aspects that do not really indicate the superiority of their owner over others."
La chose par la chose est rappelé.

pascal111

  • Sr. Member
  • ****
  • Posts: 423
  • Un trabajo en equipo para programas serias.
Re: Hyperlink labels [SOLVED]
« Reply #17 on: May 20, 2021, 12:43:28 am »
Hi

8 Bit CPUs and plattforms dont seem to be "official":

https://wiki.freepascal.org/Platform_defines

But I know there are versions (some in progress) for the Z80 (german forum) and for the 650x.

Winni

PS.: Z180 (german) : https://www.lazarusforum.de/viewtopic.php?f=11&t=12987&p=119542&hilit=Z80#p119542


لو أنّ هناكـ versions لـ  Z80 فهذا يُوضّح الصورة أكثر ﻷنّني لم أستطع تمييز المعلومات التي تصف الوضع الحالي فقد توقعت الكلام على أنواع مثل 64 بت و32 بت ولا أتوقّع وجود versions لها ﻷنّهُ لا أحد يهتم لذلكـ ولكن كُنت أريد أن أطمأن أنّ المعلومات رسميّة official بخصوص الأنظمة الحديثة ليكون تعاملي معها سليماً ولكن عندما ذكرت أنّ هناكـ versions ومن نوع آخر وهو النّوع التقليدي المعروف في فترةٍ سابقة فهذا معناه أنّني أحتاج إلى إعادة تنظيم معلوماتي من جديد لكيلا أُبرمج مثلاً في المُستقبل أيّ تعليمات خاطئة تتعارض مع ما هو مسموح به.

google translate:

"If there are versions of the Z80, this clarifies the picture more because I could not distinguish the information describing the current situation, so I expected to speak on types such as 64-bit and 32-bit, and I do not expect the existence of versions for it because no one cares for that, but I wanted to make sure that the official information about the "new" systems "to treat 'em correctly", But when I "you" mentioned that there are versions and of another type, which is the traditional type known in an earlier period, this means that I need to reorganize my information again in order not to program, for example, in the future any wrong instructions that contradict what is permitted."
La chose par la chose est rappelé.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Hyperlink labels [SOLVED]
« Reply #18 on: May 20, 2021, 02:48:54 am »
8 Bit CPUs and plattforms dont seem to be "official":

https://wiki.freepascal.org/Platform_defines
But that is for the stable version (3.2.0 ATM), while the web front page says:

Quote
Overview

Free Pascal is a mature, versatile, open source Pascal compiler. It can target many processor architectures: Intel x86 (16 and 32 bit), [snip]. Supported operating systems include Windows (16/32/64 bit, CE, and native NT), [snip] DOS (16 bit, or 32 bit DPMI), [snip]. Additionally, support for [snip], and Z80 architectures, [snip] is available in the development version.

So yeah, looks like both some 16 bit and the 8 bit Z80 target are somewhat "official" ;)
« Last Edit: May 20, 2021, 02:51:37 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5481
  • Compiler Developer
Re: Hyperlink labels
« Reply #19 on: May 20, 2021, 09:14:28 am »
"- For SizeInt, I went to this link https://www.freepascal.org/docs-html/rtl/system/sizeint.html But all I understood is that "type SizeInt = LongInt;" As shown in the link, meaning I did not explicitly realize the difference.

The documentation is generated with the CPU32 define set, thus it will pick up the SizeInt = LongInt declaration for those platforms. The description itself however explains that it's a more “dynamic” type (emphasis mine):

Quote
SizeInt is used to describe sizes of structures in FPC using a signed integer. The actual type of this type depends on the architecture: its size reflects the maximum addressable memory on the current architecture, thus it is 64-bit on 64-bit platforms, 32-bit on 32-bit platforms, and 16 bit on 16 bit platforms.

Are there devices yet CPU16 ?!

Yes. For example the MSDOS targets (the real mode ones, not Go32v2) are 16 bits.

There are even 8 bits targets (Z80?, microcontrollers, etc), IIRC, though I'm not sure whether they can be considered "official" :-[

FPC supports AVR for quite some time already and as you discovered also the Z80 support in trunk. Please note however that while they are considered 8-bit CPUs they (more often than not) have a 16-bit address bus, thus FPC considers them more or less as 16-bit.

8 Bit CPUs and plattforms dont seem to be "official":

https://wiki.freepascal.org/Platform_defines

The Wiki is not considered “official”.

PS.: Z180 (german) : https://www.lazarusforum.de/viewtopic.php?f=11&t=12987&p=119542&hilit=Z80#p119542

That is an emulator written in FPC, not a target for FPC (though code compiled for Z80 by FPC would probably run there).

pascal111

  • Sr. Member
  • ****
  • Posts: 423
  • Un trabajo en equipo para programas serias.
Re: Hyperlink labels [SOLVED]
« Reply #20 on: May 20, 2021, 01:35:00 pm »
كُنتُ أتسائل عن إستعمالات مُعالج 8 بت في الوقت الحالي مثل Z80  ككمبيوتر كامل أو إعتيادي ولكن من ويكيبيديا https://en.wikipedia.org/wiki/Zilog_Z80#Notable_uses تبيّن أنّ هناكـ إستعمالات أخرى لمثل هذه المُعالجات "Embedded systems and consumer electronics".

google translate:

"I was wondering about the uses of an 8-bit processor at the present time like the Z80 as a full or regular computer, but from Wikipedia https://en.wikipedia.org/wiki/Zilog_Z80#Notable_uses it turns out that there are other uses for such processors " Embedded systems and consumer electronics "."
La chose par la chose est rappelé.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Hyperlink labels
« Reply #21 on: May 20, 2021, 02:42:54 pm »
Please note however that while they are considered 8-bit CPUs they (more often than not) have a 16-bit address bus, thus FPC considers them more or less as 16-bit.

So you'd consider the 8086 more or less as 20-bit :D
Just joking; I know what you mean, and more so given that the registers can most of the time be used as pairs: BC, DE, HL, ... :)
« Last Edit: May 20, 2021, 02:47:07 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018