Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] in globals.pas set to MIPS2, how to change?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Common File Dialogs Have ...
by
msintle
[
Today
at 01:03:26 am]
[Solved] pointer to out o...
by
440bx
[
Today
at 12:51:22 am]
storing string
by
ASerge
[December 04, 2024, 11:06:57 pm]
Benchmarks
by
alpine
[December 04, 2024, 10:24:55 pm]
Bright color
by
wp
[December 04, 2024, 10:24:04 pm]
Show Form at Top
by
n7800
[December 04, 2024, 10:16:21 pm]
Arrow keys in FV
by
HotShoe
[December 04, 2024, 10:04:56 pm]
"Active $IFDEF code" is r...
by
MarkMLl
[December 04, 2024, 09:49:15 pm]
NSHapticFeedbackPerformer
by
msintle
[December 04, 2024, 09:47:25 pm]
[SOLVED] Howto use a DEFI...
by
MarkMLl
[December 04, 2024, 09:43:08 pm]
Use tts0, This example is...
by
coradi
[December 04, 2024, 09:37:12 pm]
Library for XSLT 2.0 Tran...
by
ebizz
[December 04, 2024, 06:54:35 pm]
How to know when dragging...
by
Aistis
[December 04, 2024, 06:41:46 pm]
Problem with Hints
by
Handoko
[December 04, 2024, 04:37:21 pm]
Breakpoint dosn't work
by
Martin_fr
[December 04, 2024, 03:55:08 pm]
SetLength fall
by
LemonParty
[December 04, 2024, 03:29:35 pm]
Feature Request for TMapV...
by
EkkehardDomning
[December 04, 2024, 03:23:27 pm]
TLazSerial : serial port ...
by
tetrastes
[December 04, 2024, 02:15:26 pm]
The Silver Coder on YouTu...
by
silvercoder70
[December 04, 2024, 11:45:36 am]
Type Library Viewer, Impo...
by
korba812
[December 04, 2024, 11:39:38 am]
Developing a Kernel Modul...
by
MarkMLl
[December 04, 2024, 11:21:12 am]
C operators and shift
by
Thaddy
[December 04, 2024, 10:45:03 am]
ZDataset.Locate + loParti...
by
tintinux
[December 04, 2024, 09:14:48 am]
Storing line colors
by
Khrys
[December 04, 2024, 07:51:29 am]
Python4Lazarus Undefined ...
by
Jurassic Pork
[December 04, 2024, 02:07:28 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] in globals.pas set to MIPS2, how to change? (Read 478 times)
Key-Real
Sr. Member
Posts: 372
[SOLVED] in globals.pas set to MIPS2, how to change?
«
on:
July 11, 2024, 08:51:56 pm »
in globals.pas under
Code: Pascal
[Select]
[+]
[-]
const
default_settings
:
TSettings
=
(
.....
it is set to:
Code: Pascal
[Select]
[+]
[-]
{$ifdef mips}
{$ifdef mips64}
cputype
:
cpu_mips3
;
optimizecputype
:
cpu_mips3
;
asmcputype
:
cpu_none
;
fputype
:
fpu_mips3
;
{$else mips64}
cputype
:
cpu_mips2
;
<
-----
optimizecputype
:
cpu_mips2
;
<
-----
asmcputype
:
cpu_none
;
fputype
:
fpu_mips2
;
<
-----
{$endif mips64}
{$endif mips}
if i do in options.pas:
Code: Pascal
[Select]
[+]
[-]
case
target_info
.
system
of
.....
system_mipsel_PS1
:
begin
{ set default cpu type to MIPS1 with no FPU }
if
not
option
.
CPUSetExplicitly
then
init_settings
.
cputype
:
=
cpu_mips1
;
if
not
option
.
OptCPUSetExplicitly
then
init_settings
.
optimizecputype
:
=
cpu_mips1
;
if
not
option
.
FPUSetExplicitly
then
init_settings
.
fputype
:
=
fpu_none
;
end
;
he is not changing the AsmWriter only if i hard code MIPS1 in globals.pas
what to do?
«
Last Edit: July 15, 2024, 11:07:59 am by Key-Real
»
Logged
Demo Scene,
FlyTracker
,
FPC for PlayStation 1
Key-Real
Sr. Member
Posts: 372
Re: in globals.pas set to MIPS2, how to change?
«
Reply #1 on:
July 15, 2024, 11:07:45 am »
sorry my fault,
it works this way
Logged
Demo Scene,
FlyTracker
,
FPC for PlayStation 1
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
FPC development
(Moderators:
FPK
,
Tomas Hajny
) »
[SOLVED] in globals.pas set to MIPS2, how to change?
TinyPortal
© 2005-2018