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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] ??? I don't even...
by
valdir.marcos
[
Today
at 04:55:16 pm]
Debian removes FPC/Lazaru...
by
JuhaManninen
[
Today
at 04:47:40 pm]
Set horizontal scroll pos...
by
Hartmut
[
Today
at 04:45:56 pm]
How many lines is too man...
by
Martin_fr
[
Today
at 04:20:53 pm]
Qt6/Wayland clipboard: pa...
by
Fred vS
[
Today
at 04:16:14 pm]
Win 11, strange position ...
by
d7_2_laz
[
Today
at 03:45:56 pm]
Text Fill (Memo)
by
Sc0li0sis
[
Today
at 02:36:32 pm]
[Closed]Canvas.StretchDra...
by
jamie
[
Today
at 01:57:10 pm]
Update a table with an Au...
by
CraigC
[
Today
at 12:29:38 pm]
Amigo programming languag...
by
paxscript
[
Today
at 12:21:59 pm]
[SOLVED] The "dockedforme...
by
jamie
[
Today
at 10:50:42 am]
Lazarus Bugfix Release 4....
by
Ameta
[
Today
at 10:28:14 am]
The Case For Pascal, 55 Y...
by
valdir.marcos
[
Today
at 08:02:58 am]
Front-end framework
by
PierceNg
[
Today
at 05:46:34 am]
X11Libre, finally and for...
by
Fred vS
[
Today
at 03:37:59 am]
https://live.freepascal.o...
by
PierceNg
[
Today
at 03:04:22 am]
PasLLM - LLM Inference En...
by
valdir.marcos
[
Today
at 01:11:25 am]
Fast Canvas Library V1.05...
by
Gigatron
[
Today
at 01:09:53 am]
TDirectoryEdit with OnAft...
by
Bart
[
Today
at 01:04:32 am]
Problem wih reference to ...
by
PascalDragon
[
Today
at 12:09:44 am]
Benchmark test in nanosec...
by
PascalDragon
[March 07, 2026, 11:14:15 pm]
How to execute a procedur...
by
n7800
[March 07, 2026, 10:17:32 pm]
[SOLVED] Add Help to an A...
by
valdir.marcos
[March 07, 2026, 07:18:00 pm]
Variable initialization
by
valdir.marcos
[March 07, 2026, 05:58:47 pm]
Lazarus IDE built for LCL...
by
valdir.marcos
[March 07, 2026, 05:57:09 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] in globals.pas set to MIPS2, how to change? (Read 818 times)
Key-Real
Sr. Member
Posts: 404
[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
,
my Repos
Key-Real
Sr. Member
Posts: 404
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
,
my Repos
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