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
Connecting to AzureSQL
by
Zvoni
[
Today
at 08:58:12 am]
Transparent form
by
Pe3s
[
Today
at 08:47:26 am]
Scripts to generate ofici...
by
Thausand
[
Today
at 08:36:58 am]
Can I get the position an...
by
CM630
[
Today
at 07:59:53 am]
HTTP2 Support
by
Amir61
[
Today
at 07:58:14 am]
How to compare floating p...
by
Khrys
[
Today
at 07:21:17 am]
FPGMAP accepts duplicates...
by
Thaddy
[
Today
at 06:37:46 am]
Lazarus and FreePascal on...
by
shayneoneill
[
Today
at 05:51:48 am]
Error: -macosx_version_mi...
by
shayneoneill
[
Today
at 05:49:02 am]
SYnEdit lose cursor
by
eldonfsr
[
Today
at 03:31:46 am]
FPC Unleashed (inline var...
by
flowCRANE
[
Today
at 02:05:38 am]
IDE: Property editor does...
by
Raskaton
[
Today
at 01:24:59 am]
How to view the TODO list...
by
n7800
[May 12, 2026, 10:41:05 pm]
Hint tools gives wrong hi...
by
wp
[May 12, 2026, 10:29:45 pm]
Stack overflow detection
by
n7800
[May 12, 2026, 10:23:25 pm]
Qt does not position form...
by
systemgvp
[May 12, 2026, 09:56:34 pm]
Gtk3 widgetset - call for...
by
zeljko
[May 12, 2026, 09:44:13 pm]
Windows 10 x64 Kernel Dri...
by
PascalDragon
[May 12, 2026, 09:07:06 pm]
Feature announcement: Fun...
by
PascalDragon
[May 12, 2026, 08:57:47 pm]
How can I suppress except...
by
PascalDragon
[May 12, 2026, 08:34:40 pm]
TA Chart Axes visibility ...
by
wp
[May 12, 2026, 08:22:28 pm]
USB-C PD logger KM003C
by
DonAlfredo
[May 12, 2026, 07:42:44 pm]
TR-DOS Audio Suite
by
Gigatron
[May 12, 2026, 06:26:53 pm]
show me the parameters ce...
by
Nicole
[May 12, 2026, 05:42:40 pm]
TToolbutton: Dropdown men...
by
apeoperaio
[May 12, 2026, 03:11:30 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] in globals.pas set to MIPS2, how to change? (Read 890 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